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

version» Context lines:

pike.git/lib/modules/Sql.pmod/mysql.pike:1:   /* -  * $Id: mysql.pike,v 1.31 2006/09/15 13:08:50 mast Exp $ +  * $Id: mysql.pike,v 1.32 2006/09/15 14:28:03 mast Exp $    *    * Glue for the Mysql-module    */      //! Implements the glue needed to access the Mysql-module from the generic   //! SQL module.      #pike __REAL_VERSION__      #if constant(Mysql.mysql)
pike.git/lib/modules/Sql.pmod/mysql.pike:601:    ::big_query ("SET character_set_client=" + new_send_charset); \    /* Can't be changed automatically - has side effects. /mast */ \    /* ::big_query("SET character_set_connection=" + \    new_send_charset); */ \    }) { \    if (new_send_charset == "utf8") \    predef::error ("The query is a wide string " \    "and the MySQL server doesn't support UTF-8: %s\n", \    describe_error (err)); \    else \ -  throw err; \ +  throw (err); \    } \    send_charset = new_send_charset; \    } \    } \    \    CH_DEBUG ("Sending query with charset %O: %O.\n", \    charset || send_charset, query); \    \    int|object res = ::do_query(query); \    \