aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard <q@1bpm.net>2022-04-08 22:44:44 +0100
committerRichard <q@1bpm.net>2022-04-08 22:44:44 +0100
commit49cc5442b012b0bd94f8de00af84e6be4c0dd856 (patch)
tree9c6e604881e8320db83aa8ba5bfb46a4186c3075
parent97f8b44c1fa635db5f9454c8b9e1113a101cf1c9 (diff)
downloadcsound-sqldb-49cc5442b012b0bd94f8de00af84e6be4c0dd856.tar.gz
csound-sqldb-49cc5442b012b0bd94f8de00af84e6be4c0dd856.tar.bz2
csound-sqldb-49cc5442b012b0bd94f8de00af84e6be4c0dd856.zip
fix return before unlock in dbarray.i
-rw-r--r--src/opcodes.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/opcodes.cpp b/src/opcodes.cpp
index c64bb38..34bba02 100644
--- a/src/opcodes.cpp
+++ b/src/opcodes.cpp
@@ -521,7 +521,6 @@ struct dbarray : csnd::Plugin<1, 2> {
LOCK(connection);
try {
connection->ArrayQuery(sql.data, csound, array);
- return OK;
} catch (const std::exception &e) {
UNLOCK(connection);
return csound->init_error(e.what());