Commit Graph

22 Commits (ba3e1bf5b8ee234528ec01561a462c75549036ed)

Author SHA1 Message Date
Sven Slootweg 1eb1427de4 Fix float casting bug 11 years ago
Sven Slootweg 4e45466d9e Patch for integer overflow when auto-casting in a PDO query. 11 years ago
Sven Slootweg 21f3cea18f Merge branch 'master' of git.cryto.net:projects/joepie91/cphp 11 years ago
Sven Slootweg a90ffa590d Throw a DatabaseException when an object is specified as a query parameter. 11 years ago
Sven Slootweg d42eecad3d Swap the class and procedural code in the PDO include, to avoid breakage 11 years ago
Sven Slootweg 4b02357739 Include an error message in the exception when a database query fails. 11 years ago
Sven Slootweg 113404d563 Remove old mysql_ cache purging code, fix type inconsistency bug in cache purging, and fix a bug in the debugger (oh, the irony) 11 years ago
Sven Slootweg 3fbfad8656 Bypass cache on data reload, and fix a bug where a difference between column name and variable name would cause the clearing of old data in an object to fail 11 years ago
Sven Slootweg 7db7d5a60a Make CPHP deal properly with non-integer numeric values 11 years ago
Sven Slootweg 4aa82d0a86 Remove all mysql_ functionality and make insertion/updating use PDO instead. 11 years ago
Sven Slootweg 75a5f0b7e7 Skip memcache retrieval if the expiry time is defined as 0 (after all, we clearly don't want stale data) 12 years ago
Sven Slootweg 9d85fb8bc9 Make the CachedQuery function throw an exception when a query fails, instead of just returning null 12 years ago
Sven Slootweg 18cd2f8066 Fix some PDO implementation stuff 12 years ago
Sven Slootweg 7b4b4231db Make the PDO object cast nulls to empty strings to work around PHP retardedness 12 years ago
Sven Slootweg abb0712c97 Add no-expiry option to cached query functions, and fix cache invalidation bug 12 years ago
Sven Slootweg 4bbeffbd57 Create a new stdClass object before assigning properties 12 years ago
Sven Slootweg c53ffd9afb Make the CachedQuery function return null or false when an error condition occurs 12 years ago
Sven Slootweg d6ddb80b04 Make parameters optional and implement PDO properly 12 years ago
Sven Slootweg 0dd070a809 Only retrieve query results as an associative array, omitting the numeric index 12 years ago
Sven Slootweg 1f45289ea3 Implement cacheable PDO object 12 years ago
Sven Slootweg 52b6216054 Use a configuration parser instead of hardcoded configuration variables 12 years ago
Sven Slootweg ede5d9f3fe Initial commit 12 years ago