Commit Graph

117 Commits

Author SHA1 Message Date
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
Geoff Munn
058466ea87 Sqlsrv now returns false 2009-04-06 23:08:08 +00:00
Geoff Munn
36c4145ffe debug data enabled 2009-04-06 22:14:58 +00:00
Geoff Munn
881a602894 debug data enabled 2009-04-06 21:53:23 +00:00
Geoff Munn
b50f0baa6e seek() function created for sqlsrv 2009-04-06 05:30:15 +00:00
Geoff Munn
a8650e3366 test function for MSSQL 2009-04-06 05:21:06 +00:00
Geoff Munn
a67b9a77f9 debug data enabled 2009-04-06 03:41:45 +00:00
Geoff Munn
25293f7f35 sqlsrv_query fixed 2009-04-06 03:16:35 +00:00
Geoff Munn
1aecbddb6e SQL connection string fixed for IIS 2009-04-06 02:57:42 +00:00
Geoff Munn
20e4e95958 SQL connection string fixed for IIS 2009-04-06 02:57:01 +00:00
Geoff Munn
d8a04c98a1 sqlsrv detection improved 2009-04-06 02:42:58 +00:00
Geoff Munn
e1d9e6ba44 Page types now appear in the CMS dropdowns 2009-04-05 22:23:58 +00:00