Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:4521:    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 (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 ''"); +  " MODIFY COLUMN data LONGBLOB NOT NULL DEFAULT ''");    report_debug("complete. [%f s]\n", (gethrtime() - start_time)/1000000.0);    }    }       Sql.Sql get_db()    {    return dbm_cached_get("local");    }       protected void init_db( )