Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'w07_MDL-26351_20_instquotes' of git://github.com/skodak…

…/moodle
  • Loading branch information...
commit 9aaa767c80a3444205bc025daade77c8094e2103 2 parents 418b3b6 + 438e22c
@stronk7 stronk7 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ddl/postgres_sql_generator.php
View
4 lib/ddl/postgres_sql_generator.php
@@ -56,7 +56,7 @@ class postgres_sql_generator extends sql_generator {
public $rename_key_sql = null; //SQL sentence to rename one key (PostgreSQL doesn't support this!)
//TABLENAME, OLDKEYNAME, NEWKEYNAME are dynamically replaced
- protected $strd_strings = null; // '' or \' quotes
+ protected $std_strings = null; // '' or \' quotes
/**
* Reset a sequence to the id field of a table.
@@ -407,7 +407,7 @@ public function getCheckConstraintsFromDB($xmldb_table, $xmldb_field = null) {
}
public function addslashes($s) {
- // Postgres is gradually switching to ANSY quotes, we need to check what is expected
+ // Postgres is gradually switching to ANSI quotes, we need to check what is expected
if (!isset($this->std_strings)) {
$this->std_strings = ($this->mdb->get_field_sql("select setting from pg_settings where name = 'standard_conforming_strings'") === 'on');
}
Please sign in to comment.
Something went wrong with that request. Please try again.