Commit Graph

24 Commits (137f76396600f44532054db2829d1e7ae2fa2cb6)

Author SHA1 Message Date
Matthew Wild 137f763966 util.sql: Allow onconnect callback to fail connection to the DB by returning false, err 11 years ago
Kim Alvefur 3dd49f5620 util.sql: Call onconnect, provide noop dummy if not set 11 years ago
Matthew Wild 3edc813e77 util.sql: Remove built-in engine caching. This is the wrong layer to do this, and unintentionally sharing connections could cause problems (e.g. when interleaving multiple queries and result fetching) 11 years ago
Matthew Wild 41996240ed util.sql: Expose db2uri helper function 11 years ago
Matthew Wild 15e84d4ec5 util.sql: Rename some variable to match conventions 11 years ago
Matthew Wild bfba36b194 util.sql: Remove unused functions and unused commented code 11 years ago
Kim Alvefur 655e1cde09 mod_storage_sql2, util.sql: Set character encoding on every connect 11 years ago
Kim Alvefur 0dce82a095 util.sql: Fix previous commit 12 years ago
Kim Alvefur a9e2cb510a util.sql: Get character set info from the correct database. 12 years ago
Kim Alvefur 95457cb25b util.sql: Rewrite auto increment columns to SERIAL for PostgreSQL 12 years ago
Matthew Wild a80e00e16f util.sql: Fix to call execute on 'self' rather than 'engine' (thanks eisensheng) 12 years ago
Kim Alvefur 1bcfdab54f util.sql: Rewrite MEDIUMTEXT to TEXT for drivers other than MySQL 12 years ago
Kim Alvefur 29988cfa70 util.sql: Check what encoding SQLite3 uses 12 years ago
Kim Alvefur a0d18144ed util.sql: Find out if MySQL supports utf8mb4 and use that 12 years ago
Kim Alvefur 22be283187 util.sql: Support incrementing columns 12 years ago
Kim Alvefur 136139f068 util.sql: Allow columns to be marked the primary key 12 years ago
Kim Alvefur 6c769838e9 util.sql: Allow creating unique indices 12 years ago
Kim Alvefur e993570759 mod_storage_sql2, util.sql: Move code for setting encoding to util.sql 12 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Kim Alvefur f7acbbc783 util.sql: Do lazy fetching of affected/rowcount 13 years ago
Kim Alvefur 051779d694 Backed out changeset 3c57c2281087 13 years ago
Kim Alvefur c41f00e53f util.sql: Don't fetch row count of result sets for queries that don't have result sets 13 years ago
Kim Alvefur 06e7d7b489 util.sql: Set charset and collation for MySQL when creating tables 13 years ago
Matthew Wild 7d92759bf8 mod_storage_sql2 (temporary name), sql.lib, util.sql: New SQL API supporting cross-module connection sharing, transactions and Things - a work in progress 13 years ago