Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:4516:    int start_time = gethrtime();    QUERY("CREATE INDEX atime_id ON " + name + " (atime, id)");    report_debug("complete. [%f s]\n", (gethrtime() - start_time)/1000000.0);    report_debug("Updating " + name + " image cache: "    "Dropping index atime on %s... ", name);    start_time = gethrtime();    QUERY("DROP INDEX atime ON " + name);    report_debug("complete. [%f s]\n", (gethrtime() - start_time)/1000000.0);    }    res = QUERY("SHOW COLUMNS FROM " + name + " WHERE Field = 'data'"); -  if (lowercase(res[0]->Type) != "longblob") { +  if (lower_case(res[0]->Type) != "longblob") {    report_debug("Updating " + name + " image cache: "    "Increasing maximum blob size...");    start_time = gethrtime();    QUERY("ALTER TABLE " + name +    "MODIFY COLUMN data LONGBLOB NOT NULL DEFAULT ''");    report_debug("complete. [%f s]\n", (gethrtime() - start_time)/1000000.0);    }    }       Sql.Sql get_db()