Commit Graph

78 Commits

Author SHA1 Message Date
Sean Harvey
333ac5f26a MINOR Removed unncessary whitespace from MSSQLDatabase and double up of phpDoc tags 2009-07-15 23:39:35 +00:00
Tom Rix
5293397e42 MINOR fix private static typo 2009-07-09 03:59:44 +00:00
Tom Rix
808f10e1d0 FEATURE function to strip SQL Server noise words from a full-text query. 2009-07-09 01:11:02 +00:00
Sean Harvey
f5d41cedfd BUGFIX Fixed MSSQLDatabase::searchEngine() to search keywords properly by connecting them with AND to go in the CONTAINS() function 2009-07-07 05:38:16 +00:00
Andrew O'Neil
31cedd108b BUGFIX: Fix times returned after midday being 12 hours early 2009-06-30 02:09:02 +00:00
Geoff Munn
c3a0542c66 MINOR FIX: 'DISTINCT' keyword must come before 'TOP' 2009-06-29 00:08:22 +00:00
Andrew O'Neil
0ec54f3359 Fix defaults 2009-06-25 02:27:02 +00:00
Tom Rix
2217918a2b MINOR passing more unit tests with MSSQL Search 2009-06-23 00:20:39 +00:00
Sam Minnee
ff739d1786 BUGFIX: Remove an extraneous space from the generated queries so that SQLQueryTest passes 2009-06-16 05:32:31 +00:00
Sam Minnee
0585ef3908 BUGFIX: Fixed limit/offset code in MSSQL 2009-06-16 04:04:01 +00:00
Sam Minnee
bff10ffc99 BUGFIX: Refactored SQL generation so that limit/offset queries work 2009-06-16 02:51:42 +00:00
Sam Minnee
acc2d7f531 BUGFIX: Fixed MSSQLDatabase::dropDatabase() 2009-06-16 02:13:00 +00:00
Sean Harvey
efb03701ca BUGFIX MSSQLDatabase::indexList() should always return an array, even if it's empty to be consistent with MSSQLDatabase::tableList() 2009-06-15 06:41:36 +00:00
Andrew O'Neil
4f1f1f9082 FEATURE: Add table renaming support 2009-06-15 01:34:22 +00:00
Sam Minnee
cedc941410 BUGFIX: Made MSSQLDatabase::EnumValuesFromConstraint more robust 2009-06-10 01:21:15 +00:00
Sam Minnee
7a1d6d7bcf BUGFIX: Get MSSQL to handle the '## offset ##' style of limit value. 2009-06-08 03:45:54 +00:00
Tom Rix
58cca2dfeb BUGFIX fixing the build, making the code happier 2009-06-05 04:37:45 +00:00
Tom Rix
3c1eed05ed FEATURE Microsoft Sequel Server fulltext searching.
FEATURE sqlsrv_num_rows emulation (set $query->forceNumRows = true;)
2009-06-05 03:44:28 +00:00
Tom Rix
a2d2b73893 Better support for LIMIT, minimal support for OFFSET. 2009-06-04 03:02:35 +00:00
Sean Harvey
1290b0e4c7 BUGFIX Fixed undefined varible $dbname, this should have been $this->database instead 2009-06-03 23:35:24 +00:00
Tom Rix
39c250af7f BUGFIX FEATURE semi-numRows support on SQLSRV 2009-06-02 22:32:45 +00:00
Tom Rix
ab245adc60 FEATURE semi-numRows support on SQLSRV 2009-06-02 21:01:15 +00:00
Tom Rix
f728294be2 BUGFIX error handling 2009-06-02 01:33:10 +00:00
Sam Minnee
3c00238cdf ENHANCEMENT: Added support sqlsrv PHP module as well as the mssql PHP module. 2009-05-28 02:07:11 +00:00
Sean Harvey
ed19021ea0 MINOR Moved SET TEXTSIZE query into the else statement on MSSQLDatabase::__construct() 2009-05-27 00:51:47 +00:00
Sean Harvey
42d70770f0 BUGFIX Fixed SQL server case where text size limit for varchar and text was too small (probably imposed by FreeTDS) so we need to force a 2GB maximum
BUGFIX MSSQLDatabase::text() should return "varchar(max)" as text is deprecated (see http://msdn.microsoft.com/en-us/library/ms187993.aspx)
2009-05-27 00:50:48 +00:00
Sam Minnee
3abcfaf833 BUGFIX: Changed date type to use datetime internally, for MSSQL2005 support.
BUGFIX: Don't crash if the database doesn't exist yet.
2009-05-27 00:36:53 +00:00
Sam Minnee
a7328a7316 API CHANGE: Allow use of temporary option in MSSQLDatabase::createTable() 2009-05-21 05:10:46 +00:00
Ingo Schommer
b39b915a2f BUGFIX Fixed MSSQLDatabase->createTable() definition to match changed parent (added $options parameter) 2009-05-19 20:33:11 +00:00
Geoff Munn
ee850f1a50 Default constraints removed 2009-05-19 02:24:27 +00:00
Geoff Munn
98bb7ef777 Default values changed to constraints, and Enum fields improved 2009-05-18 21:23:41 +00:00
Sean Harvey
d3eeee21e4 BUGFIX Allow null values for "time" to be consistent with datetime 2009-05-16 01:33:45 +00:00
Sean Harvey
2c193e51d3 BUGFIX Fixed bug where an empty query would break dev/build in MSSQLDatabase 2009-05-12 23:07:21 +00:00
Sam Minnee
87760aa5b3 ENCHANCEMENT: Added fullTextEnabled property to MSSQLDatabase object, to let developers completely disabled all fulltext functionality. 2009-05-08 03:37:31 +00:00
Sam Minnee
3fbf62c4cd BUGFIX: Fixed field renaming in MSSQLDatabase.
ENHANCEMENT: Added MSSQLDatabase::fullTextSearchSQL() for generating full-text queries in an abstract fashion.
2009-05-07 06:32:08 +00:00
Sam Minnee
dc080b0e28 BUGFIX: Added default value to decimal field type.
ENHANCEMENT: Added MSSQL::allowPrimaryKeyEditing() method to access SET IDENTITY_INSERT method.
BUGFIX: Fix sort by RAND()
2009-05-07 05:55:05 +00:00
Geoff Munn
293b156cb7 BUGFIX: regex fixed 2009-05-07 04:55:09 +00:00
Sam Minnee
231696bb76 BUGFIX: Make database creation / deletion more robust so that test execution can work.
API CHANGE: Added MSSQLDatabase::clearTable()
BUGFIX: Get fulltext indexes being created more robustly.
2009-05-07 03:47:59 +00:00
Geoff Munn
703fde9fb5 BUG FIX: constraints fixed for very long constraint data 2009-05-06 00:02:43 +00:00
Geoff Munn
72e8d924e7 BUGFIX: default enum values now have single quotes 2009-04-29 22:49:48 +00:00
Sean Harvey
8b8dc91e7c MINOR Set the database as active if changed the connection using selectDatabase() 2009-04-28 05:41:43 +00:00
Sean Harvey
0d1b808700 MINOR Code formatting fixes 2009-04-28 05:33:26 +00:00
Sean Harvey
874f28aa71 BUGFIX Removed MySQL specific stuff that was copied across on MSSQLDatabase 2009-04-28 05:13:23 +00:00
Geoff Munn
1964ac5907 Table alterations refactored 2009-04-21 23:14:43 +00:00
Geoff Munn
59d4622bc7 ALTER commands now work 2009-04-21 22:19:45 +00:00
Sean Harvey
c6c8a9a2a5 BUGFIX Fixed select database SQL statements that don't work because they were copied over as MySQL ones
MINOR phpDoc to MSSQLDatabase comments
2009-04-13 22:02:55 +00:00
Sean Harvey
ab28096c0d MINOR Added end php tag to _config.php file 2009-04-13 22:00:35 +00:00
Sean Harvey
0159e3c5fb BUGFIX Fixed alterations to existing tables - SQL server requires a single "ADD" clause followed by a list of columns instead of individual ADD clauses. 2009-04-08 22:11:38 +00:00
Sean Harvey
87419c77f1 Removed echo statement 2009-04-08 05:10:12 +00:00
Geoff Munn
18789c5d84 sqlsrv instances removed 2009-04-07 02:57:16 +00:00