Created
May 7, 2012 12:49
-
-
Save mavroudis/2627588 to your computer and use it in GitHub Desktop.
ezSQL: fixed duplicate return typo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit d47a4e76e04e99fab6c6bca0076a083484f7a578 | |
Author: Michael Mavroudis <michael@mavroudis.com> | |
Date: Sat Apr 28 09:54:46 2012 -0400 | |
fixed duplicate return bug | |
diff --git a/postgresql/ez_sql_postgresql.php b/postgresql/ez_sql_postgresql.php | |
index 45e9518..bdeaa40 100755 | |
--- a/postgresql/ez_sql_postgresql.php | |
+++ b/postgresql/ez_sql_postgresql.php | |
@@ -144,7 +144,7 @@ | |
function descTable($tbl_name) | |
{ | |
- return return "ordinal_position, column_name, data_type, column_default, is_nullable, character_maximum_length, numeric_precision FROM information_schema.columns WHERE table_name = '$tbl_name' AND table_schema='$this->dbname' ORDER BY ordinal_position"; | |
+ return "ordinal_position, column_name, data_type, column_default, is_nullable, character_maximum_length, numeric_precision FROM information_schema.columns WHERE table_name = '$tbl_name' AND table_schema='$this->dbname' ORDER BY ordinal_position"; | |
} | |
function showDatabases() | |
@@ -284,4 +284,4 @@ | |
} | |
} | |
- } | |
\ No newline at end of file | |
+ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment