Commit Graph

156 Commits

Author SHA1 Message Date
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
Sean Harvey 9e9bd677f6 MINOR Removed return of connection which is not used any longer 2010-02-11 10:08:21 +00:00
Sean Harvey 50f8ee7d6a MINOR Renamed variables and keys to conincide with r98795 2010-02-11 09:59:52 +00:00
Sean Harvey 68757c72a6 FEATURE Added MSSQLDatabaseConfigurationHelper which is related to the installer 2010-02-11 07:38:10 +00:00
Sean Harvey a2c2b3ebc0 BUGFIX Added MSSQLDatabase::set() - it doesn't do anything different to enum at the moment 2010-02-07 01:59:13 +00:00
Andreas Piening 6b82e2b1c2 MINOR: cast to datetime for higher precision 2010-02-04 04:53:25 +00:00
Sean Harvey ab1b49fdf0 MINOR Removed query to enable fulltext each time MSSQLDatabase::createFullTextCatalog() was called - it's already enabled on databases where fulltext is supported 2010-02-03 08:24:33 +00:00
Sean Harvey 9bbe3603ee BUGFIX Check value() return on MSSQLDatabase::fullTextEnabled() 2010-02-03 08:13:41 +00:00
Sean Harvey adef3ced70 ENHANCEMENT Automatic checking of fulltext support by looking into the sys.databases table for MSSQLDatabase 2010-02-03 08:11:31 +00:00
Sean Harvey 7d67d25402 MINOR Changed MSSQLDatabase::now() block comment to be more useful 2010-02-03 07:53:08 +00:00
Sean Harvey de7068d591 MINOR Removed redundant code from various MSSQLDatabase methods - it is now more inline with MySQLDatabase 2010-02-03 07:50:29 +00:00
Sean Harvey b8b85a12a2 ENHANCEMENT MSSQLDatabase::decimal() field type now accepts user defined default values if it's available 2010-02-03 07:27:50 +00:00
Andreas Piening 9c1bda45ff FEATURE: added datetime helper functions 2010-02-03 05:01:37 +00:00
Sean Harvey 27975ad20f BUGFIX Fixed error when connecting to the database 2010-02-02 02:41:52 +00:00
Sean Harvey 6f42abda19 MINOR Fixed error 2010-02-02 02:34:40 +00:00
Sean Harvey 72a1381455 MINOR Changed the way MSSQLAzureDatabase connects 2010-02-02 02:30:50 +00:00
Sean Harvey 2a1cee6f3a ENHANCEMENT Added MSSQLAzureDatabase->selectDatabase() support - it doesn't work the same way as SQL Server, we have to re-create the database connection 2010-02-02 02:19:43 +00:00
Sean Harvey adb7369f5f MINOR Removed MSSQLDatabase::$mssqlVersion - it's not used 2010-02-02 02:08:02 +00:00
Sean Harvey 4b3d185c67 FEATURE Added MSSQLAzureDatabase - subclass of MSSQLDatabase which has a different constructor for initialising the database specifically for SQL Azure 2010-02-01 23:26:22 +00:00
Sean Harvey b8b44eaef5 BUGFIX Fixed proper checking of $this->fullTextIndexExists() when checking for indexes - NULL case means it's fulltext isn't enabled
ENHANCEMENT Support for only one active result set when building a SQL Server database
ENHANCEMENT Removed deprecated two-part syntax for DROP INDEX and used ON instead
2010-02-01 23:24:02 +00:00
Sean Harvey b7f44bf043 MINOR Ease up restrictions of private variables and methods on MSSQLDatabase - this allows for a subclass for a more specific subset of SQL Server functionality 2010-02-01 21:45:01 +00:00
Sean Harvey 05d2831fb9 BUGFIX Fixed conflict of temp table creation between sites in MSSQLDatabase::createTable() by randomizing the table name 2009-12-15 00:58:58 +00:00
Sean Harvey 7e01c97e53 MINOR Use $this->query instead of DB::query() for instance MSSQLDatabase::createTable() temp table drop queries 2009-12-15 00:19:37 +00:00
Sean Harvey 6ae790f3a3 BUGFIX MSSQL stores temporary tables in the "tempdb" database, so special requirements are needed to make this work correctly with SapphireTest assumptions that this table exists in the same database as the project 2009-12-14 23:57:30 +00:00