Branch: Tag:

2014-08-26

2014-08-26 09:01:12 by Stephen R. van den Berg <srb@cuci.nl>

Database creation doesn't work with bound parameters.

1517:   //! @[drop_db()]   void create_db(string db)   { -  big_query("CREATE DATABASE :db",([":db":db])); +  big_query(sprintf("CREATE DATABASE %s",db));   }      //! This function destroys a database and all the data it contains (assuming
1532:   //! @[create_db()]   void drop_db(string db)   { -  big_query("DROP DATABASE :db",([":db":db])); +  big_query(sprintf("DROP DATABASE %s",db));   }      //! @returns