pike.git / lib / modules / Sql.pmod / pgsql_util.pmod

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:149:    = iregexp("^\a*((UPDA|DELE)TE|INSERT|CREATE|DROP"    "|RESET|CLOSE|DISCARD)\a|\aLIMIT\a+[1-9][; \t\f\r\n]*$");      private void default_backend_runs() { // Runs as soon as the    cb_backend = Pike.DefaultBackend; // DefaultBackend has started   }      protected void create() {    atexit(_destruct);    // Run callbacks from our local_backend until DefaultBackend has started -  cb_backend = local_backend = Pike.SmallBackend(); +  cb_backend = local_backend = Pike.Backend();    call_out(default_backend_runs, 0);   }      protected void _destruct() {    foreach (clients; proxy client; )    destruct(client);   }      private Regexp iregexp(string expr) {    Stdio.Buffer ret = Stdio.Buffer();