diff options
author | Tomasz T <tomasz154@10g.pl> | 2011-12-02 17:57:30 +0100 |
---|---|---|
committer | Tomasz T <tomasz154@10g.pl> | 2011-12-02 18:00:39 +0100 |
commit | 717253f5c77a11b1b997069ff53bd2d2ab2e538c (patch) | |
tree | 51e759ec780ea9ba8fcb480eab5463bbdc0b7c27 | |
parent | 740a2423b27ccc6a607615fd1c8c4c39aaffba0f (diff) |
SELECT * FROM isn't that innocuous, changed to SELECT 1
-rw-r--r-- | system/database/drivers/postgre/postgre_forge.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/postgre/postgre_forge.php b/system/database/drivers/postgre/postgre_forge.php index 166cc4e6a..ddbce6062 100644 --- a/system/database/drivers/postgre/postgre_forge.php +++ b/system/database/drivers/postgre/postgre_forge.php @@ -83,7 +83,7 @@ class CI_DB_postgre_forge extends CI_DB_forge { { if ($this->db->table_exists($table)) { - return "SELECT * FROM $table"; // Needs to return innocous but valid SQL statement + return "SELECT 1"; // Needs to return innocous but valid SQL statement } } |