mirror of
https://github.com/MariaDB/server.git
synced 2025-08-30 11:22:14 +03:00
Hide internal unique index naming
This commit is contained in:
@@ -143,7 +143,7 @@ int main()
|
||||
if (myTransaction == NULL) APIERROR(myNdb->getNdbError());
|
||||
|
||||
NdbIndexOperation *myIndexOperation=
|
||||
myTransaction->getNdbIndexOperation("MYINDEXNAME$unique","MYTABLENAME");
|
||||
myTransaction->getNdbIndexOperation("MYINDEXNAME","MYTABLENAME");
|
||||
if (myIndexOperation == NULL) APIERROR(myTransaction->getNdbError());
|
||||
|
||||
myIndexOperation->readTuple(NdbOperation::LM_Read);
|
||||
@@ -166,7 +166,7 @@ int main()
|
||||
if (myTransaction == NULL) APIERROR(myNdb->getNdbError());
|
||||
|
||||
NdbIndexOperation *myIndexOperation=
|
||||
myTransaction->getNdbIndexOperation("MYINDEXNAME$unique", "MYTABLENAME");
|
||||
myTransaction->getNdbIndexOperation("MYINDEXNAME", "MYTABLENAME");
|
||||
if (myIndexOperation == NULL) APIERROR(myTransaction->getNdbError());
|
||||
|
||||
myIndexOperation->updateTuple();
|
||||
@@ -187,7 +187,7 @@ int main()
|
||||
if (myTransaction == NULL) APIERROR(myNdb->getNdbError());
|
||||
|
||||
NdbIndexOperation *myIndexOperation=
|
||||
myTransaction->getNdbIndexOperation("MYINDEXNAME$unique", "MYTABLENAME");
|
||||
myTransaction->getNdbIndexOperation("MYINDEXNAME", "MYTABLENAME");
|
||||
if (myIndexOperation == NULL) APIERROR(myTransaction->getNdbError());
|
||||
|
||||
myIndexOperation->deleteTuple();
|
||||
|
Reference in New Issue
Block a user