From 438e22cc50a693019d2ccc3d9ab274a81bf76e12 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Tue, 15 Feb 2011 09:44:24 +0100 Subject: [PATCH] MDL-26351 fix property and docs typo Credit goes to David Mudrak. --- lib/ddl/postgres_sql_generator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ddl/postgres_sql_generator.php b/lib/ddl/postgres_sql_generator.php index 240a67bb076..31b8374c57a 100644 --- a/lib/ddl/postgres_sql_generator.php +++ b/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 @@ class postgres_sql_generator extends sql_generator { } 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'); }