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

version» Context lines:

pike.git/lib/modules/Sql.pmod/mysql.pike:649: Inside #if constant (Mysql.mysql.HAVE_MYSQL_FIELD_CHARSETNR)
     #if constant (Mysql.mysql.HAVE_MYSQL_FIELD_CHARSETNR)   #define HAVE_MYSQL_FIELD_CHARSETNR_IFELSE(TRUE, FALSE) TRUE   #else   #define HAVE_MYSQL_FIELD_CHARSETNR_IFELSE(TRUE, FALSE) FALSE   #endif      //! @returns   //! Returns an array:   //! @array - //! @item string 0 + //! @elem string 0   //! The adjusted query. - //! @item string|zero 1 + //! @elem string|zero 1   //! The charset to restore after performing the query (if any).   //! This is only set when @[charset] has been set.   //! @endarray   protected array(string(8bit)) fix_query_charset(string query,    string|void charset)   {    if (charset) {    string current_charset = send_charset || get_charset();    if (charset != current_charset) {    CH_DEBUG ("Switching charset from %O to %O (due to charset arg).\n",