Browse Source

db_postgres: use db_api_init() to initialize srdb1 lib

Daniel-Constantin Mierla 14 năm trước cách đây
mục cha
commit
4578f6eba8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      modules/db_postgres/pg_mod.c

+ 1 - 1
modules/db_postgres/pg_mod.c

@@ -532,7 +532,7 @@ int pg_test(void)
 
 int mod_register(char *path, int *dlflags, void *p1, void *p2)
 {
-	if(db_query_init()<0)
+	if(db_api_init()<0)
 		return -1;
 	return 0;
 }