Changeset: 4beb86842488 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/4beb86842488
Modified Files:
        sql/backends/monet5/sql.c
Branch: Jan2022
Log Message:

I committed too much


diffs (21 lines):

diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -577,14 +577,14 @@ create_table_from_emit(Client cntxt, cha
 
        for (i = 0; i < ncols; i++) {
                BAT *b = columns[i].b;
-               const char *atomname = ATOMname(b->ttype);
+               str atoname = ATOMname(b->ttype);
                sql_subtype tpe;
                sql_column *col = NULL;
 
-               if (!strcmp(atomname, "str"))
+               if (!strcmp(atoname, "str"))
                        sql_find_subtype(&tpe, "clob", 0, 0);
                else {
-                       sql_subtype *t = sql_bind_localtype(atomname);
+                       sql_subtype *t = sql_bind_localtype(atoname);
                        if (!t)
                                throw(SQL, "sql.catalog", SQLSTATE(3F000) 
"CREATE TABLE: could not find type for column");
                        tpe = *t;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to