Commit Graph

29 Commits (83415cdd67764ca777659fe4f67f2b36434d64f0)

Author SHA1 Message Date
Matthew Wild 83415cdd67 util.sql: Log debug message when connecting to database 11 years ago
Matthew Wild 0c33175d45 util.sql: Make set_encoding() return failure of SET NAMES 11 years ago
Matthew Wild 6f02ac5ba6 util.sql: Return failure if set_encoding() fails 11 years ago
Matthew Wild 0c0e1786bf util.sql: Use appropriate collation for the chosen character set - fixes MySQL silently ignoring our SET NAMES command when we use utf8mb4 11 years ago
Matthew Wild 7d98c3be73 util.sql: Create table with same charset as the charset we selected for our connection, also use corresponding _bin collation 11 years ago
Matthew Wild b0b754aa33 util.sql: Allow onconnect callback to fail connection to the DB by returning false, err 11 years ago
Kim Alvefur c9035dd6cd util.sql: Call onconnect, provide noop dummy if not set 11 years ago
Matthew Wild 3b9fc2367c 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 c57a486144 util.sql: Expose db2uri helper function 11 years ago
Matthew Wild ac11127ab2 util.sql: Rename some variable to match conventions 11 years ago
Matthew Wild 4c6ef4cc77 util.sql: Remove unused functions and unused commented code 11 years ago
Kim Alvefur 2d59206551 mod_storage_sql2, util.sql: Set character encoding on every connect 11 years ago
Kim Alvefur f454faa15b util.sql: Fix previous commit 12 years ago
Kim Alvefur 72140f4dd6 util.sql: Get character set info from the correct database. 12 years ago
Kim Alvefur 507cb9e056 util.sql: Rewrite auto increment columns to SERIAL for PostgreSQL 12 years ago
Matthew Wild 12cea76200 util.sql: Fix to call execute on 'self' rather than 'engine' (thanks eisensheng) 12 years ago
Kim Alvefur f04a2061aa util.sql: Rewrite MEDIUMTEXT to TEXT for drivers other than MySQL 12 years ago
Kim Alvefur 7b0320c5c6 util.sql: Check what encoding SQLite3 uses 12 years ago
Kim Alvefur e20e010643 util.sql: Find out if MySQL supports utf8mb4 and use that 12 years ago
Kim Alvefur 4c4a45a987 util.sql: Support incrementing columns 12 years ago
Kim Alvefur 50ec28d155 util.sql: Allow columns to be marked the primary key 12 years ago
Kim Alvefur 9c9c795847 util.sql: Allow creating unique indices 12 years ago
Kim Alvefur acefadc54b mod_storage_sql2, util.sql: Move code for setting encoding to util.sql 12 years ago
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Kim Alvefur 1398e3d4f3 util.sql: Do lazy fetching of affected/rowcount 13 years ago
Kim Alvefur afbae0fd76 Backed out changeset 3c57c2281087 13 years ago
Kim Alvefur 6b8541caca util.sql: Don't fetch row count of result sets for queries that don't have result sets 13 years ago
Kim Alvefur 567d00c045 util.sql: Set charset and collation for MySQL when creating tables 13 years ago
Matthew Wild 0dd53a7f83 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