[libgda: 1/5] Add support for type GEOMETRY
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda: 1/5] Add support for type GEOMETRY
- Date: Mon, 4 Oct 2021 04:14:05 +0000 (UTC)
commit b20462a0b7e3fed2ac80a0dd4d91fcba8e36636a
Author: taozuhong <taozuhong gmail com>
Date: Thu Sep 30 16:43:32 2021 +0800
Add support for type GEOMETRY
providers/mysql/gda-mysql-recordset.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/providers/mysql/gda-mysql-recordset.c b/providers/mysql/gda-mysql-recordset.c
index d7f157186..7aea2fd1e 100644
--- a/providers/mysql/gda-mysql-recordset.c
+++ b/providers/mysql/gda-mysql-recordset.c
@@ -629,6 +629,7 @@ gda_mysql_recordset_new (GdaConnection *cnc,
case MYSQL_TYPE_LONG_BLOB:
case MYSQL_TYPE_DECIMAL:
case MYSQL_TYPE_NEWDECIMAL:
+ case MYSQL_TYPE_GEOMETRY:
case MYSQL_TYPE_BIT:
mysql_bind_result[i].buffer = g_malloc0 (field->max_length + 1);
mysql_bind_result[i].buffer_length = field->max_length + 1;
@@ -904,6 +905,7 @@ new_row_from_mysql_stmt (GdaMysqlRecordset *imodel, G_GNUC_UNUSED gint rownum, G
case MYSQL_TYPE_LONG_BLOB:
case MYSQL_TYPE_NEWDECIMAL:
case MYSQL_TYPE_DECIMAL:
+ case MYSQL_TYPE_GEOMETRY:
case MYSQL_TYPE_BIT: {
char *bvalue = NULL;
memmove (&length, mysql_bind_result[i].length, sizeof (unsigned long));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]