Skip to content

Commit 631c1b9

Browse files
author
magnus.blaudd@oracle.com
committed
ndbapi-examples
- change ndbapi_simple_index to use ndb_examples as database like all other examples
1 parent 5a9fd54 commit 631c1b9

File tree

1 file changed

+2
-2
lines changed
  • storage/ndb/ndbapi-examples/ndbapi_simple_index

1 file changed

+2
-2
lines changed

storage/ndb/ndbapi-examples/ndbapi_simple_index/main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
2+
Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
33
44
This program is free software; you can redistribute it and/or modify
55
it under the terms of the GNU General Public License as published by
@@ -87,7 +87,7 @@ int main(int argc, char** argv)
8787
0, mysqld_sock, 0) )
8888
MYSQLERROR(mysql);
8989

90-
mysql_query(&mysql, "CREATE DATABASE ndb_examples_1");
90+
mysql_query(&mysql, "CREATE DATABASE ndb_examples");
9191
if (mysql_query(&mysql, "USE ndb_examples") != 0) MYSQLERROR(mysql);
9292

9393
while (mysql_query(&mysql,

0 commit comments

Comments
 (0)