CVS Commit by dpage: Fix explicit cast SQL per report from Merlin
require($_SERVER['DOCUMENT_ROOT']."/includes/top_config.php");
?>
CVS Commit by dpage: Fix explicit cast SQL per report from Merlin
Log Message:
-----------
Fix explicit cast SQL per report from Merlin Moncure
Modified Files:
--------------
pgadmin3/src/schema:
pgCast.cpp (r1.27 -> r1.28)
Index: pgCast.cpp
===================================================================
RCS file: /projects/pgadmin3/src/schema/pgCast.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -Lsrc/schema/pgCast.cpp -Lsrc/schema/pgCast.cpp -u -w -r1.27 -r1.28
--- src/schema/pgCast.cpp
+++ src/schema/pgCast.cpp
@@ -45,7 +45,7 @@
sql += wxT(")\n WITHOUT FUNCTION");
else
sql += wxT(")\n WITH FUNCTION ") + GetQuotedSchemaPrefix(GetCastNamespace()) + qtIdent(GetCastFunction()) + wxT("(") + GetSourceType() + wxT(")");
- if (GetCastContext() != wxT("Explicit"))
+ if (GetCastContext() != wxT("EXPLICIT"))
sql += wxT("\n AS ") + GetCastContext();
sql += wxT(";\n");
}
Home |
Main Index |
Thread Index