Changeset 850 for branches/prototype-v0/zoo-project/zoo-kernel/sqlapi.c
- Timestamp:
- Aug 29, 2017, 10:52:39 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/sqlapi.c
r839 r850 396 396 char* _getStatus(maps* conf,char* pid){ 397 397 int zoo_ds_nb=getCurrentId(conf); 398 int created=-1; 398 399 map *schema=getMapFromMaps(conf,"database","schema"); 399 400 char *sqlQuery=(char*)malloc((strlen(schema->value)+strlen(pid)+58+1)*sizeof(char)); … … 408 409 init_sql(conf); 409 410 zoo_ds_nb++; 411 created=1; 410 412 } 411 413 execSql(conf,zoo_ds_nb-1,sqlQuery);
Note: See TracChangeset
for help on using the changeset viewer.