Permalink
Commits on Feb 12, 2017
  1. Merge pull request #42 from ajoneil/1

    halkyon committed Feb 12, 2017
    Fix index issues in /dev/build
Commits on Aug 16, 2016
  1. Merge pull request #35 from tractorcow/pulls/docs

    halkyon committed Aug 16, 2016
    Updated docs
Commits on Aug 11, 2015
  1. Merge pull request #25 from sminnee/master

    halkyon committed Aug 11, 2015
    Add Appveyor test configuration for Windows-based CI
Commits on Jul 14, 2014
  1. Merge pull request #17 from halkyon/int_fix2

    halkyon committed Jul 14, 2014
    Fixing use of "bigint" and "decimal" for pure integer types.
Commits on Jul 11, 2014
  1. Fixing use of "bigint" and "decimal" for pure integer types.

    halkyon committed Jul 11, 2014
    See #14
    for more info.
    
    "bigint" doesn't work for PHP 32-bit, as the integer could get too big
    for PHP to be able to interpret the value as an integer type. In that
    case it would try to approximate it as a float, but that could lead
    to a bad assumption for identity columns.
    
    For compatibility, stick with standard "int" type which has a maximum
    value of 2147483647.
    
    Note that MySQLAdapter already has this maximum, so changing it to
    this keeps this database adapter consistent with MySQL.
Commits on Jan 20, 2014
  1. Merge pull request #13 from nikrolls/bug_indexes-not-fully-escaped

    halkyon committed Jan 20, 2014
    BUG: Indexes were not being fully escaped
Commits on Sep 13, 2013
  1. Merge branch '3.0-index-fixes' of git://github.com/tractorcow/silvers…

    halkyon committed Sep 13, 2013
    …tripe-mssql into tractorcow-3.0-index-fixes
Commits on Jun 21, 2013
  1. Merge pull request #6 from ss23/patch-1

    halkyon committed Jun 21, 2013
    Update MSSQLDatabaseConfigurationHelper.php
Commits on May 27, 2013
  1. BUG Fixing problem where duplicate items appear on pages

    halkyon committed May 27, 2013
    Reverts 13cdb07 and instead calls
    setLimitItems(false) on PaginatedList to tell it we've already
    limited the number of items to be shown.
Commits on May 22, 2013
Commits on May 17, 2013
  1. Merge pull request #11 from mattgunn/patch-1

    halkyon committed May 17, 2013
    Removing paging subset occuring before pagination is set
Commits on Apr 24, 2013
  1. Revert fc3df54

    halkyon committed Apr 24, 2013
  2. default float spec to 53 so dev/build doesn't continually show as cha…

    halkyon committed Apr 24, 2013
    …nged
    
    otherwise it continually shows as changed from "float(53) not null..." to
    "float not null"
Commits on Apr 5, 2013
Commits on Jan 7, 2013
  1. Fixing MSSQLDatabase to conform to dev/build change detection

    halkyon committed Jan 7, 2013
    This involves changing a few things around so that it's closer to
    how the MySQLDatabase adapter works. indexList() should return an
    array in the same format instead of using arbitrary "indexname"
    and "spec". indexNames() has also been introduced to MSSQLDatabase
    so that we can drop all indexes (except for fulltext and primary key
    indexes) on a table when altering the table columns, this helps when
    constraints not directly related to a modified column refuse to allow changes.
Commits on Dec 20, 2012
  1. BUG Fix SortColumn ORDER BY not working when using a limit

    halkyon committed Dec 20, 2012
    MSSQL doesn't support putting an alias into the OVER clause,
    something which is required when limiting results with an offset.
    The workaround is to just put the aggregate inline, taken from
    the select list.
Commits on Dec 19, 2012
Commits on Dec 18, 2012
  1. Tidying up error reporting in databaseError() and adding getLastError()

    halkyon committed Dec 18, 2012
    Whenever databaseError() is called when a database problem occurred
    then the last error is automatically appended to the end of the
    general error message.
Commits on Nov 16, 2012
Commits on Sep 7, 2012
  1. Ensure date test is Y-m-d

    halkyon committed Sep 7, 2012
Commits on Aug 28, 2012
  1. Merge pull request #3 from silverstripe-rebelalliance/7813

    halkyon committed Aug 28, 2012
    BUG: open ticket 7813 fixing dobule quoting issue in getIndexSqlDefiniti...
Commits on Jun 12, 2012
  1. MINOR Performance optimisation in MSSQLDatabase::nextRecord() by

    halkyon committed Jun 12, 2012
    building field meta-data only on construct of MSSQLQuery
  2. BUGFIX Fixing date/datetime handling in MSSQLDatabase

    halkyon committed Jun 12, 2012
    Fixing the date type to actually be "date", and not "datetime" so
    that values are returned as "Y-m-d" for dates, and not "Y-m-d H:i:s".
    
    Additionally, fixing a case where using the mssql functions would
    return strange datetime formats. We need the datetime field values
    in Y-m-d H:i:s. To get this working, we need to inspect the field type
    when retrieving rows from the database and re-format the datetime
    value at this point. This is done in MSSQLQuery::nextRecord()
Commits on Jun 11, 2012
Commits on May 8, 2012
Commits on May 7, 2012