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

version» Context lines:

pike.git/lib/modules/Sql.pmod/module.pmod:305:   //!   //! @note   //! In Pike 8.1 and later this function is essentially a noop;   //! if you actually need it, you may want to use @[8.0::Sql.Sql].   //!   //! @returns   //! Returns @[con].   //!   //! @seealso   //! @[8.0::Sql.Sql], @[Connection] - variant Connection Sql(__deprecated__(Connection) con, void|string db) + variant Connection Sql(__deprecated__(Connection) con, string db = "")   { -  if (db && db != "") { +  if (db != "") {    con->select_db(db);    }       return con;   }      #pragma deprecation_warnings         //! @class mysql_result