Lines Matching refs:curr_version
230 int rc, curr_version;
264 curr_version = 0;
291 curr_version = strtol(results[1], &end, 10);
295 if (curr_version < 0) {
301 if (curr_version == version)
307 sql[curr_version]);
309 rc = sql_exec_tran_no_cb(db, sql[curr_version], dbname,
310 (curr_version == 0) ? "installing schema" : "upgrading schema");
313 (curr_version == 0) ? "installing schema" :
320 *upgraded = (curr_version > 0);
321 *created = (curr_version == 0);