~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/utility_functions/schema.cc

  • Committer: Stewart Smith
  • Date: 2011-02-24 07:46:16 UTC
  • mto: (2200.1.2 drizzle-staging)
  • mto: This revision was merged to the branch mainline in revision 2201.
  • Revision ID: stewart@flamingspork.com-20110224074616-l2rmp406vf78x71q
add ER_NO_LOCK_HELD error code, and expect it in case of UNLOCK TABLES without any locks held.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include "config.h"
 
21
#include <config.h>
22
22
 
23
23
#include <drizzled/session.h>
24
 
#include "plugin/utility_functions/functions.h"
 
24
#include <plugin/utility_functions/functions.h>
25
25
 
26
26
namespace drizzled
27
27
{
39
39
    return 0;
40
40
  }
41
41
 
42
 
  str->copy(schema->c_str(), schema->size(), system_charset_info);
 
42
  str->copy(*schema, system_charset_info);
43
43
 
44
44
  return str;
45
45
}