538487796cda56e28b65282c5b37aa329c7ea9d9 max Thu Sep 12 13:45:57 2013 -0700 renaming to db.neverLocal to keep in line with the other hg.conf directives diff --git src/hg/lib/jksql.c src/hg/lib/jksql.c index 01335fe..9f3e8c0 100644 --- src/hg/lib/jksql.c +++ src/hg/lib/jksql.c @@ -1350,31 +1350,31 @@ /* Doing an "alter table disable keys" command implicitly commits the current transaction. Don't want to use that optimization if we need to be transaction safe. */ /* FIXME: markd 2003/01/05: mysql 4.0.17 - the alter table enable keys hangs, * disable this optimization for now. Verify performance on small loads * before re-enabling*/ # if 0 boolean doDisableKeys = !(options & SQL_TAB_TRANSACTION_SAFE); #else boolean doDisableKeys = FALSE; #endif /* determine if tab file can be accessed directly by the database, or send * over the network */ -bool sqlNeverLocal = cfgOptionBooleanDefault("sqlNeverLocal", 0); +bool sqlNeverLocal = cfgOptionBooleanDefault("db.neverLocal", 0); if (((options & SQL_TAB_FILE_ON_SERVER) && !sqlIsRemote(conn)) | sqlNeverLocal) { /* tab file on server requiries full path */ strcpy(tabPath, ""); if (path[0] != '/') { if (getcwd(tabPath, sizeof(tabPath)) == NULL) errAbort("sqlLoadTableFile: getcwd failed"); strcat(tabPath, "/"); } strcat(tabPath, path); localOpt = ""; } else {