mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
ndb - wl#2972 event merge false by default => change option name
storage/ndb/include/ndbapi/NdbEventOperation.hpp: event merge false by default => change option name storage/ndb/ndbapi-examples/ndbapi_event/ndbapi_event.cpp: event merge false by default => change option name storage/ndb/src/ndbapi/NdbEventOperation.cpp: event merge false by default => change option name storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp: event merge false by default => change option name storage/ndb/src/ndbapi/NdbEventOperationImpl.hpp: event merge false by default => change option name storage/ndb/test/ndbapi/test_event.cpp: event merge false by default => change option name storage/ndb/test/ndbapi/test_event_merge.cpp: event merge false by default => change option name
This commit is contained in:
@ -100,7 +100,7 @@ int myCreateEvent(Ndb* myNdb,
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
ndb_init();
|
||||
bool sep = argc > 1 && strcmp(argv[1], "-s") == 0;
|
||||
bool merge_events = argc > 1 && strcmp(argv[1], "-m") == 0;
|
||||
|
||||
Ndb_cluster_connection *cluster_connection=
|
||||
new Ndb_cluster_connection(); // Object representing the cluster
|
||||
@ -157,7 +157,7 @@ int main(int argc, char** argv)
|
||||
printf("create EventOperation\n");
|
||||
if ((op = myNdb->createEventOperation(eventName)) == NULL)
|
||||
APIERROR(myNdb->getNdbError());
|
||||
op->separateEvents(sep);
|
||||
op->mergeEvents(merge_events);
|
||||
|
||||
printf("get values\n");
|
||||
NdbRecAttr* recAttr[noEventColumnName];
|
||||
|
Reference in New Issue
Block a user