[libgda] Virtual connection: handle difference between blob and binary
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Virtual connection: handle difference between blob and binary
- Date: Sun, 17 Apr 2011 18:23:23 +0000 (UTC)
commit 896c16bdeb9693ff59f26d2eb9eae815dca33afb
Author: Vivien Malerba <malerba gnome-db org>
Date: Sun Apr 17 20:22:59 2011 +0200
Virtual connection: handle difference between blob and binary
libgda/sqlite/virtual/gda-vprovider-data-model.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libgda/sqlite/virtual/gda-vprovider-data-model.c b/libgda/sqlite/virtual/gda-vprovider-data-model.c
index 0953c61..5062278 100644
--- a/libgda/sqlite/virtual/gda-vprovider-data-model.c
+++ b/libgda/sqlite/virtual/gda-vprovider-data-model.c
@@ -479,8 +479,10 @@ virtualCreate (sqlite3 *db, void *pAux, int argc, const char *const *argv, sqlit
g_string_free (sql, TRUE);
return SQLITE_ERROR;
}
- else if ((gtype == GDA_TYPE_BLOB) || (gtype == GDA_TYPE_BINARY))
+ else if (gtype == GDA_TYPE_BLOB)
type = "blob";
+ else if (gtype == GDA_TYPE_BINARY)
+ type = "binary";
else if (gtype == G_TYPE_STRING)
type = "string";
else if ((gtype == G_TYPE_INT) || (gtype == G_TYPE_UINT) ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]