Commit Graph

117 Commits

Author SHA1 Message Date
Ingo Schommer
96fdd9178a BUG Removed MetaTitle and MetaKeywords cols from search engine
They have been removed from core in the 3.1 release line.
2012-12-10 23:38:35 +01:00
Normann Lou
1df648f6bb MINOR: use framework to replace sapphire for inline document. 2012-07-16 14:53:17 +12:00
Normann Lou
583e88b571 MINOR: use framework to replace sapphire for inline document. 2012-07-16 14:45:36 +12:00
Ingo Schommer
7c9156ebaf BUG Ignore col quotes in renameTable() 2012-07-06 14:05:59 +02:00
Ingo Schommer
356872236a Added supportsTimezoneOverride() method 2012-07-06 11:37:11 +02:00
Ingo Schommer
5594036d0c BUGFIX: indexList() returns indexes escaped by double quotes
See a1e7c1f9b in framework for same commit related to MySQLDatabase.
2012-07-05 15:08:01 +02:00
Ingo Schommer
14601368b8 API Don't run in-memory by default.
While the SQLite3 module is predominantly used for testing,
its best to leave this decision to the code using it.
We should default to a conservative setting (slower, but persistent).
Also remove coupling to SapphireTest when setting this value.
Don't bother creating the directory if running in-memory.
2012-07-05 13:43:46 +02:00
Ingo Schommer
7061e7a7c6 BUG Allow backslashes in fieldList() for namespaced classes 2012-07-05 12:16:20 +02:00
Sean Harvey
9502c7d5a5 MINOR Remove useless comment about another database 2012-06-12 14:41:18 +12:00
Sean Harvey
43433fbe46 BUGFIX Updating SQLite3Database::searchEngine() for SS3 2012-05-08 15:19:28 +12:00
Sean Harvey
ecda380925 ENHANCEMENT Use simpler query syntax for SS3 2012-05-04 10:02:00 +12:00
Sean Harvey
e9edf8b381 MINOR Removing sqlQueryToString as it's not required anymore in SS 3.0, SQLQuery does all the work for us instead. 2012-05-01 12:12:25 +12:00
Sean Harvey
932ffec5b6 BUGFIX Fixing support for SS 3.0 2012-05-01 11:27:22 +12:00
Sean Harvey
9dfebd8732 MINOR Fixing undefined variable 2012-04-30 11:18:52 +12:00
Sam Minnee
bac4aac13f BUGFIX: Updated sqlite3 module to work in SS3 while still supporting SS2.4. 2011-12-17 12:05:42 +13:00
Ingo Schommer
61820b08de MINOR Using new PaginatedList API in searchEngine() (if available) 2011-10-07 11:30:27 +02:00
Ingo Schommer
294c0d5c6d Merge remote-tracking branch 'smindel/master' 2011-09-15 16:06:00 +02:00
Ingo Schommer
1b36c75f0a ENHANCEMENT Optionally filtering by new File.ShowInSearch flag in SQLite3Database->searcnEngine() 2011-09-15 16:03:03 +02:00
Ingo Schommer
2e1dc517e6 BUGFIX Allow omitting FROM clause in sqlQueryToString() 2011-05-19 11:36:39 +12:00
Ingo Schommer
0dfbf538b6 BUGFIX Fixed supportsTransactions() to use version_compare() so it doesn't break on non-scalar versions like '3.7.1' 2011-04-06 14:12:47 +02:00
Ingo Schommer
f7fd2d46da BUGFIX Fixed supportsTransactions() to use version_compare() so it doesn't break on non-scalar versions like '3.7.1' 2011-04-06 22:39:57 +12:00
Stig Lindqvist
b65482f8d1 Added missing method clear_cached_fieldlist existing in tests and at least in MySQLDatabase 2011-03-28 13:18:35 +02:00
Ingo Schommer
a4f4d14eb9 API CHANGE Renamed transactions methods from endTransaction() to transactionEnd(), startTransaction() to transactionStart() to comply with new sapphire trunk API 2011-03-28 12:22:00 +02:00
Ingo Schommer
7205a9861f API CHANGE Renamed transactions methods from endTransaction() to transactionEnd(), startTransaction() to transactionStart() to comply with new sapphire trunk API 2011-03-11 16:37:22 +13:00
Andreas Piening
a2b2b116f5 MINOR: fix case in tablelist() returned array index 2010-12-16 02:54:04 +00:00
Sean Harvey
d1a024d7b1 BUGFIX Renamed SQLite3Query::destroy() renamed to destruct() so that it is called properly after the object is destroyed 2010-10-14 05:07:55 +00:00
Sean Harvey
290250b1ec MINOR SQLite3Database no longer shows an alteration message on dev/build with SQLite version. This is already done in r111851 2010-10-12 01:50:12 +00:00
Sean Harvey
de1c8cb18b BUGFIX Fixed non-object error in SQLitePDODatabase when database can't be written to (exposes better error) 2010-09-12 09:20:17 +00:00
Andreas Piening
6fe1129f42 ENHANCEMENT: set connection timeout to 60 sec 2010-09-10 05:07:00 +00:00
Andreas Piening
cc0592f78f APICHANGE: version() return full version 2010-08-22 08:08:33 +00:00
Andreas Piening
36acc3deec MINOR: fixed quoting for searcform() 2010-07-26 01:04:38 +00:00
Andreas Piening
d989c15a2a MINOR: catch wider range of create strings 2010-06-24 06:12:53 +00:00
Andreas Piening
30215cea6d MINOR: catch uninitialised var 2010-06-17 22:26:14 +00:00
Andreas Piening
97d4a15aa2 MINOR: fixed error msg retrival 2010-06-17 22:15:02 +00:00
Andreas Piening
7ad5ac0808 MINOR: catch VACUUM authorization error 2010-06-16 22:27:33 +00:00
Andreas Piening
91cd328611 MINOR: fixed a typo 2010-06-02 23:29:32 +00:00
Sean Harvey
5be44e56b4 ENHANCEMENT Added SQLiteDatabaseConfigurationHelper::getDatabaseVersion() 2010-05-26 05:12:39 +00:00
Andreas Piening
016d848a87 MINOR: made the execution of vacuuming configurable, cause its causing errors in some envs 2010-05-20 21:43:00 +00:00
Sean Harvey
5b0318bdf3 ENHANCEMENT Added SQLiteDatabaseConfigurationHelper::requireDatabaseVersion() for checking SQLite library version is at least 3.3 2010-05-15 04:59:18 +00:00
Sean Harvey
483da30a0f MINOR Added SQLDatabaseConfigurationHelper::requireDatabaseVersion() as a stub method until it's implemented 2010-05-15 04:08:12 +00:00
Andreas Piening
46c903652a MINOR: limit support for transactions to sqlite3.6 and later 2010-04-30 03:07:35 +00:00
Andreas Piening
5c672862aa MINOR: SQLite supports transactions 2010-04-15 23:00:37 +00:00
Andreas Piening
0699cd7d65 MINOR: fix broken seek() 2010-04-15 05:45:08 +00:00
Andreas Piening
bb67ad3cd2 MINOR: keep SQLiteEnums helper table on clearTable/clearAllData in unit tests 2010-04-14 04:01:19 +00:00
Andreas Piening
e76d193b1e MINOR: sqlite properly introduces itself on dev build 2010-04-14 03:06:22 +00:00
Sean Harvey
98a59cad7b BUGFIX Fixed SQLite3Database::enumValuesForField() from returning an array with NULL values 2010-04-07 03:25:21 +00:00
Andreas Piening
bc1cd7008e BUGFIX: fixed broken addslashes 2010-03-31 00:15:26 +00:00
Andreas Piening
21b512a4e7 BUGFIX: SQLite PDO adapter to use the new function to secure db storage location 2010-03-17 21:45:00 +00:00
Ingo Schommer
204e3efd38 ENHANCEMENT Better validation checks in SQLiteDatabaseConfigurationHelper 2010-03-15 07:01:54 +00:00
Ingo Schommer
4443df5171 MINOR Moved SQLite3Database::safe_dir() to two new methods on SQLite3DatabaseConfigurationHelper (create_db_dir() and secure_db_dir()), more flexible and useable from the helper class in install.php context without requiring class inclusions pre-manifest build (see r101054 for installer enhancements) 2010-03-15 06:43:49 +00:00
Andreas Piening
065106bb80 ENHANCEMENT: configuration helper added 2010-03-09 23:58:36 +00:00
Andreas Piening
41af325ea5 BUGFIX: fix for sqlite3.3 2010-03-09 23:58:08 +00:00
Mateusz Uzdowski
47a91fe6c5 ENHANCEMENT: take into account that older Sqlite can modify the CREATE string and inject single quotes around table names that breaks the db reflection mechanism (happens when the table is renamed) 2010-03-08 23:39:22 +00:00
Geoff Munn
0094e39a9e API CHANGE: dbDataType function created 2010-03-08 21:57:47 +00:00
Sean Harvey
17c8ea054d MINOR Fixed undefined variables 2010-03-04 22:08:24 +00:00
Andreas Piening
b85db20c88 BUGFIX: protected default db location MINOR: polished adapter setup 2010-02-08 04:20:09 +00:00
Andreas Piening
8564804d77 MINOR added default value for decimals 2010-02-05 03:35:48 +00:00
Andreas Piening
b2968dc888 MINOR: extended flexibility of the helper ordermorespecifically 2010-02-04 05:13:11 +00:00
Andreas Piening
f9108ae913 MINOR: added support for the SET data type used in MultiEnums 2010-02-03 05:02:43 +00:00
Andreas Piening
899c2fa062 FEATURE: added helper functions for datetime operations 2010-02-01 05:15:10 +00:00
Andreas Piening
3d1ff088ee MINOR: removed query hack 2010-01-28 05:29:08 +00:00
Andreas Piening
e8726d1c4e MINOR: Removed destructor for PDOStatement 2010-01-24 07:38:43 +00:00
Andreas Piening
b0fd65c554 FEATURE: added getter and setter for connection pragma 2010-01-24 06:57:42 +00:00
Andreas Piening
d6754b2d97 BUGFIX: reintegrated the Database schemaupdate and transX functions 2010-01-22 11:48:57 +00:00
Andreas Piening
d34170e370 ENHANCEMENT: added PDO for SQLite adapter to support PHP < 5.3
ENHANCEMENT: rewrite of the build process
2010-01-21 11:32:21 +00:00
Andreas Piening
29ca870f76 MINOR: caching enum map
MINOR: fixed indentation
2010-01-17 10:48:22 +00:00
Andreas Piening
3a60c5c180 FEATURE: SQLite3 databse adapter 2010-01-14 20:42:43 +00:00