Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

SQLAzure and SQLServer fixes #654

Merged
merged 2 commits into from Dec 18, 2011
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/joomla/database/database/sqlazure.php
Expand Up @@ -9,7 +9,7 @@

defined('JPATH_PLATFORM') or die;

require dirname(__FILE__) . '/sqlsrv.php';
JLoader::register('JDatabaseSQLSrv', dirname(__FILE__) . '/sqlsrv.php');

JLoader::register('JDatabaseQuerySQLAzure', dirname(__FILE__) . '/sqlazurequery.php');

Expand Down
2 changes: 1 addition & 1 deletion libraries/joomla/database/database/sqlsrvquery.php
Expand Up @@ -76,7 +76,7 @@ public function __toString()
$query .= 'VALUES ';
$query .= (string) $this->values;

if ($this->auto_increment_field)
if ($this->autoIncrementField)
{
$query = 'SET IDENTITY_INSERT ' . $tableName . ' ON;' . $query . 'SET IDENTITY_INSERT ' . $tableName . ' OFF;';
}
Expand Down