Skip to content
Snippets Groups Projects
Commit c7b493d4 authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Mark some deprecated methods as deprecated.

parent d2ac22e1
Branches
Tags
No related merge requests found
...@@ -18,7 +18,7 @@ inherit sybase.sybase:mo; ...@@ -18,7 +18,7 @@ inherit sybase.sybase:mo;
/* /*
* Deprecated. Use connect(host,db,user,pass) instead. * Deprecated. Use connect(host,db,user,pass) instead.
*/ */
void select_db(string db) __deprecated__ void select_db(string db)
{ {
mo::big_query("use "+db); mo::big_query("use "+db);
} }
...@@ -26,14 +26,14 @@ void select_db(string db) ...@@ -26,14 +26,14 @@ void select_db(string db)
/* /*
* Deprecated. Use an SQL command instead. * Deprecated. Use an SQL command instead.
*/ */
void create_db (string dbname) { __deprecated__ void create_db (string dbname) {
mo::big_query("create database "+dbname); mo::big_query("create database "+dbname);
} }
/* /*
* Deprecated. Use an SQL command instead. * Deprecated. Use an SQL command instead.
*/ */
void drop_db (string dbname) { __deprecated__ void drop_db (string dbname) {
mo::big_query("drop database "+dbname); mo::big_query("drop database "+dbname);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment