Commit Graph

179 Commits

Author SHA1 Message Date
Sean Harvey
13f90299cc MINOR Better error debugging message when sqlsrv_errors() is used on MSSQLDatabase::query() on a failed query 2010-06-03 12:03:27 +00:00
Sam Minnee
78d47d312f BUGFIX: Fixed index creation in MSSQL. 2010-06-03 00:58:33 +00:00
Sam Minnee
53156eb94e BUGFIX: Fixed MSSQLDatabase::hasTable() 2010-06-03 00:58:32 +00:00
Sam Minnee
9a1ee37cbd BUGFIX: Prevent dev/build errors with fulltext indexes on MSSQL. 2010-06-03 00:58:32 +00:00
Sam Minnee
feebe26208 API CHANGE: Added MSSQLDatabase::set_collation() to let you set the collation for the nvarchar fields. 2010-06-03 00:58:31 +00:00
Sam Minnee
07ea9353e1 ENHANCEMENT: Switch MSSQL to use the utf8 character set for the connection. 2010-06-03 00:58:31 +00:00
Sean Harvey
8e28fc70f6 MINOR Updated class doc 2010-05-27 23:05:32 +00:00
Sean Harvey
b6b9e00803 MINOR Class doc 2010-05-27 22:25:45 +00:00
Sean Harvey
028e54c306 MINOR Updated MSSQLDatabase class docs 2010-05-26 10:05:21 +00:00
Sean Harvey
b4851c5c1c MINOR Removed MSSQLDatabase::runTableCheckCommand() which is not used 2010-05-26 09:58:40 +00:00
Sean Harvey
b484b14be5 ENHANCEMENT Added MSSQLDatabase::getVersion() to determine the current version of MSSQL in use 2010-05-26 05:24:15 +00:00
Sean Harvey
5ad91ce0ed ENHANCEMENT Added MSSQLDatabaseConfigurationHelper::getDatabaseVersion() 2010-05-26 05:11:14 +00:00
Sean Harvey
a0768ec44d MINOR Re-added in function_exists() for sqlsrv_num_rows() for backwards compatability with sqlsrv 1.0, added a warning that it'll only work on cursors other than forward only 2010-05-19 12:13:33 +00:00
Sean Harvey
888dc64c0a BUGFIX MSSQLDatabase::searchEngine() no longer relies on MSSQLQuery::numRecords() which doesn't always work properly anyway, instead it counts if the record can be viewed and was pushed into the result DataObjectSet 2010-05-19 12:11:33 +00:00
Sean Harvey
07c4800374 API CHANGE Removed MSSQLQuery::forceNumRows which was a workaround for a lack of sqlsrv_num_rows() which exists as of sqlsrv 1.1 (current version) 2010-05-19 11:37:43 +00:00
Sean Harvey
075f4e53b9 MINOR Code tidy up in MSSQLDatabase 2010-05-19 11:06:35 +00:00
Sean Harvey
530a780a90 API CHANGE Removed MSSQLDatabase::escape_character() which doesn't need to belong on the database 2010-05-19 10:48:19 +00:00
Sean Harvey
d667b49f5f MINOR Removed unused MSSQLDatabase::fulltext() method which did nothing but echo a debug statement 2010-05-19 10:45:30 +00:00
Sean Harvey
b5edca6f91 BUGFIX MSSQLDatabase::formattedDatetimeClause() should start the epoch at 1/1/1970 12:00 instead of 00:00 which it defaults at, otherwise comparing it to PHP produces a full 24 hour time difference 2010-05-19 10:25:46 +00:00
Sean Harvey
7fad117464 MINOR Removed unncessary use of LEFT() in MSSQLDatabase::datetimeIntervalClause() 2010-05-19 10:09:51 +00:00
Sean Harvey
39576dd4e0 BUGFIX MSSQLDatabase date formatting uses style code 120 which represents a typical datetime format without millseconds 2010-05-18 10:47:05 +00:00
Sean Harvey
012849fad9 BUGFIX Fixed version not coming back from SQL Server, as it needs to be casted first 2010-05-13 21:52:57 +00:00
Sean Harvey
90e1e644c9 BUGFIX Fixed incorrect version in MSSQLDatabaseConfigurationHelper::requireDatabaseVersion() 2010-05-13 12:27:25 +00:00
Sean Harvey
8bad204488 MINOR Removed whitespace from _config 2010-05-13 12:26:07 +00:00
Sean Harvey
104a242b97 ENHANCEMENT Added MSSQLDatabaseConfigurationHelper::requireDatabaseVersion() to check for SQL Server 2008 SP1 as a minimum requirement 2010-05-13 12:25:54 +00:00
Sean Harvey
cb499039ab MINOR Better debugging output for failed queries 2010-05-11 00:12:13 +00:00
Sean Harvey
69ec2c12c9 BUGFIX Fixed error when mssql functions not available 2010-05-10 23:47:44 +00:00
Sean Harvey
28434a195d MINOR Better debugging in MSSQLDatabase::query() 2010-05-10 22:56:43 +00:00
Sean Harvey
572d025029 ENHANCEMENT MSSQLDatabase::text() and MSSQLDatabase::varchar() now use nvarchar which plays along better with UTF-8 characters 2010-05-10 04:45:54 +00:00
Sean Harvey
fc54ae0b15 MINOR Updated README to reflect location of requirements and installation instructions for MSSQL 2010-05-06 23:32:23 +00:00
Ingo Schommer
2329ac93a5 BUGFIX Quoting of database name in MSSQLDatabase->allTablesSQL() 2010-04-29 23:01:33 +00:00
Sean Harvey
0307d40a61 BUGFIX Float should always be not null and default 0 in the database 2010-04-13 05:38:01 +00:00
Sean Harvey
e4f9c0387d MINOR Added README 2010-04-07 03:17:05 +00:00
Sean Harvey
93c87b4671 BUGFIX Added missing dbDataType method to MSSQLDatabase 2010-04-07 02:46:28 +00:00
Sean Harvey
df785ecbbf BUGFIX MSSQLDatabaseConfigurationHelper didn't detect existing databases using sqlsrv driver properly 2010-03-11 20:09:00 +00:00
Sean Harvey
f5ea92fbd8 MINOR Cleanup of MSSQLAzureDatabase::selectDatabase() 2010-03-11 09:52:16 +00:00
Sean Harvey
23b27e4d9f MINOR Cleanup of MSSQLAzureDatabase::selectDatabase() 2010-03-11 09:51:33 +00:00
Sean Harvey
fd47409602 MINOR Cast MSSQLDatabase::fulltextEnabled() as boolean 2010-03-11 09:46:16 +00:00
Sean Harvey
a9c6c54f4c MINOR Reverted last commit 2010-03-11 09:44:51 +00:00
Sean Harvey
2013c70090 MINOR Small improvement to ini_get() check in MSSQLDatabase::__construct() 2010-03-11 09:41:53 +00:00
Sean Harvey
f1d6819da4 MINOR Partially reverted changes to MSSQLDatabase::affectedRows() in r100630 2010-03-11 08:47:04 +00:00
Sean Harvey
cd0e39c554 MINOR Removed MSSQLDatabase::tableDetails() - there is no base API for this, and it isn't implemented 2010-03-11 08:41:37 +00:00
Sean Harvey
661ce65d24 BUGFIX Proper use of sqlsrv_rows_affected() 2010-03-08 20:15:27 +00:00
Sean Harvey
036570e3c1 ENHANCEMENT Expose errors as they are available with sqlsrv driver in MSSQLDatabaseConfigurationHelper 2010-03-05 21:22:54 +00:00
Sean Harvey
9c4f25b43f ENHANCEMENT Added additional error message pass through on the configuration helper for SQL Server 2010-03-05 04:24:53 +00:00
Sean Harvey
a37fd93c37 BUGFIX Stop sqlsrv warnings from being returned as errors to keep it in line with mssql functions 2010-03-05 02:40:20 +00:00
Sean Harvey
84aed0d9c3 BUGFIX Don't show search result items in MSSQLDatabase::searchEngine() that can't be viewed 2010-02-25 02:40:26 +00:00
Sean Harvey
d09acc0cbe BUGFIX MSSQLDatabase::fullTextEnabled() should be cached so it doesn't have to query it all the time and slow down the database when dev/build occurs 2010-02-23 01:23:42 +00:00
Sean Harvey
5667388908 BUGFIX MSSQLDatabase::fullTextEnabled() should check that full-text capability is installed properly instead of just checking the status of it on the database 2010-02-11 23:09:37 +00:00
Sean Harvey
9779e0a58b MINOR Fixed missing connection required for testing credentials 2010-02-11 11:52:12 +00:00