2
0
Эх сурвалжийг харах

Missing header field added

Jan Janak 21 жил өмнө
parent
commit
8bfbc23cf2
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      db/db.c

+ 2 - 1
db/db.c

@@ -31,6 +31,7 @@
 #include "../sr_module.h"
 #include "../mem/mem.h"
 #include "../str.h"
+#include "../ut.h"
 
 db_func_t dbf;
 
@@ -129,7 +130,7 @@ int table_version(db_con_t* connection, const str* table)
 	}
 
 	if (RES_ROW_N(res) == 0) {
-		DBG("table_version(): No row for table %s found\n", table->len, ZSW(table->s));
+		DBG("table_version(): No row for table %.*s found\n", table->len, ZSW(table->s));
 		return 0;
 	}