pike.git / lib / modules / __builtin.pmod / Sql.pmod / Connection.pike

version» Context lines:

pike.git/lib/modules/__builtin.pmod/Sql.pmod/Connection.pike:92:   //! string my_input = "rob' OR name!='rob";   //! my_db->query("DELETE FROM tblUsers WHERE name=%s", my_input);   //! @endcode   //!   //! The default implementation quotes single quotes by doubling them.   string quote(string s)   {    return replace(s, "\'", "\'\'");   }    - private constant timezone = localtime (0)->timezone; + private int timezone = localtime (0)->timezone;      //! Converts a system time value to an appropriately formatted time   //! spec for the database.   //!   //! @param time   //! Time to encode.   //!   //! @param date   //! If nonzero then @[time] is taken as a "full" unix time spec   //! (where the date part is ignored), otherwise it's converted as a