[libgda] SQLite3: Removing unsupported operation
- From: Pavlo Solntsev <psolntsev src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] SQLite3: Removing unsupported operation
- Date: Sun, 12 Jul 2020 03:39:58 +0000 (UTC)
commit b1c8ffb958959c9e7c965b05ee660e9c33d32b58
Author: Pavlo Solntsev <p sun fun gmail com>
Date: Thu May 28 13:18:20 2020 -0500
SQLite3: Removing unsupported operation
libgda/sqlite/gda-sqlite-ddl.c | 13 -------------
libgda/sqlite/gda-sqlite-provider.c | 3 ---
2 files changed, 16 deletions(-)
---
diff --git a/libgda/sqlite/gda-sqlite-ddl.c b/libgda/sqlite/gda-sqlite-ddl.c
index aff075fcc..68a6db717 100644
--- a/libgda/sqlite/gda-sqlite-ddl.c
+++ b/libgda/sqlite/gda-sqlite-ddl.c
@@ -715,19 +715,6 @@ _gda_sqlite_render_DROP_VIEW (G_GNUC_UNUSED GdaServerProvider *provider, GdaConn
return sql;
}
-gchar *
-_gda_sqlite_render_DROP_COLUMN (GdaServerProvider *provider,
- GdaConnection *cnc,
- GdaServerOperation *op,
- GError **error)
-{
- gchar *sql = NULL;
-
- g_set_error (error, GDA_SERVER_PROVIDER_ERROR, GDA_SERVER_PROVIDER_NON_SUPPORTED_ERROR,
- _("DROP COLUMN operation is not supported by SQLite3 provider"));
- return sql;
-}
-
gchar *
_gda_sqlite_render_RENAME_COLUMN (GdaServerProvider *provider,
GdaConnection *cnc,
diff --git a/libgda/sqlite/gda-sqlite-provider.c b/libgda/sqlite/gda-sqlite-provider.c
index 835de3460..b5fb8563e 100644
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -1608,9 +1608,6 @@ gda_sqlite_provider_render_operation (GdaServerProvider *provider, GdaConnection
case GDA_SERVER_OPERATION_ADD_COLUMN:
sql = _gda_sqlite_render_ADD_COLUMN (provider, cnc, op, error);
break;
- case GDA_SERVER_OPERATION_DROP_COLUMN:
- sql = _gda_sqlite_render_DROP_COLUMN (provider, cnc, op, error);
- break;
case GDA_SERVER_OPERATION_RENAME_COLUMN:
sql = _gda_sqlite_render_RENAME_COLUMN (provider, cnc, op, error);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]