Branch: Tag:

2014-12-04

2014-12-04 19:25:18 by Martin Nilsson <nilsson@opera.com>

Mark some deprecated methods as deprecated.

18:   /*    * Deprecated. Use connect(host,db,user,pass) instead.    */ - void select_db(string db) + __deprecated__ void select_db(string db)   {    mo::big_query("use "+db);   }
26:   /*    * Deprecated. Use an SQL command instead.    */ - void create_db (string dbname) { + __deprecated__ void create_db (string dbname) {    mo::big_query("create database "+dbname);   }      /*    * Deprecated. Use an SQL command instead.    */ - void drop_db (string dbname) { + __deprecated__ void drop_db (string dbname) {    mo::big_query("drop database "+dbname);   }