[libgda/LIBGDA_4.2] GdaServerOperation usage corrections
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/LIBGDA_4.2] GdaServerOperation usage corrections
- Date: Wed, 14 Dec 2011 17:00:55 +0000 (UTC)
commit 79382e8de9a93cff85649f4cbfc5b7a6ac42935c
Author: Vivien Malerba <malerba gnome-db org>
Date: Wed Nov 23 21:31:45 2011 +0100
GdaServerOperation usage corrections
libgda/gda-server-operation.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgda/gda-server-operation.c b/libgda/gda-server-operation.c
index 741134c..a9af605 100644
--- a/libgda/gda-server-operation.c
+++ b/libgda/gda-server-operation.c
@@ -2622,6 +2622,7 @@ gda_server_operation_perform_drop_database (GdaServerOperation *op, const gchar
GdaServerProvider *prov;
g_return_val_if_fail (GDA_IS_SERVER_OPERATION (op), FALSE);
+ g_return_val_if_fail (gda_server_operation_get_op_type (op) == GDA_SERVER_OPERATION_DROP_DB, FALSE);
if (provider)
prov = gda_config_get_provider (provider, error);
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]