CVS Commit by andreas: Allow change of some function attributes
require($_SERVER['DOCUMENT_ROOT']."/includes/top_config.php");
?>
CVS Commit by andreas: Allow change of some function attributes
Log Message:
-----------
Allow change of some function attributes
Modified Files:
--------------
pgadmin3/src/ui:
dlgFunction.cpp (r1.32 -> r1.33)
Index: dlgFunction.cpp
===================================================================
RCS file: /projects/pgadmin3/src/ui/dlgFunction.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -Lsrc/ui/dlgFunction.cpp -Lsrc/ui/dlgFunction.cpp -u -w -r1.32 -r1.33
--- src/ui/dlgFunction.cpp
+++ src/ui/dlgFunction.cpp
@@ -227,7 +227,6 @@
|| name != function->GetName()
|| cbVolatility->GetValue() != function->GetVolatility()
|| chkSecureDefiner->GetValue() != function->GetSecureDefiner()
- || chkSetof->GetValue() != function->GetReturnAsSet()
|| chkStrict->GetValue() != function->GetIsStrict()
|| cbLanguage->GetValue() != function->GetLanguage()
|| (isC && (txtObjectFile->GetValue() != function->GetBin() || txtLinkSymbol->GetValue() != function->GetSource()))
@@ -354,6 +353,10 @@
bool isC=cbLanguage->GetValue().IsSameAs(wxT("C"), false);
bool didChange = !function
+ || cbVolatility->GetValue() != function->GetVolatility()
+ || chkSecureDefiner->GetValue() != function->GetSecureDefiner()
+ || chkStrict->GetValue() != function->GetIsStrict()
+ || cbLanguage->GetValue() != function->GetLanguage()
|| (isC && (txtObjectFile->GetValue() != function->GetBin() || txtLinkSymbol->GetValue() != function->GetSource()))
|| (!isC && txtSqlBox->GetText() != function->GetSource());
Home |
Main Index |
Thread Index