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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:540:    stashqueue=Thread.Queue();    stash=Stdio.Buffer();    Thread.Thread(connectloop,pgsqlsess,nossl);    }   };      #ifdef PG_DEBUGRACE   class conxsess {    final conxion chain;    -  void create(conxion parent) { +  protected void create(conxion parent) {    if (parent->started)    werror("Overwriting conxsess %s %s\n",    describe_backtrace(({"new ", backtrace()[..<1]})),    describe_backtrace(({"old ", parent->nostrack})));    parent->nostrack = backtrace();    chain = parent;    }       final void sendcmd(int mode,void|sql_result portal) {    chain->sendcmd(mode, portal);    chain = 0;    }    -  void destroy() { +  protected void _destruct() {    if (chain)    werror("Untransmitted conxsess %s\n",    describe_backtrace(({"", backtrace()[..<1]})));    }   };   #endif      //! The result object returned by @[Sql.pgsql()->big_query()], except for   //! the noted differences it behaves the same as @[Sql.sql_result].   //!