-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
I can't get through after successfully connecting to couchbase server
then i try to query it always says LCB_ERROR_SOCKET_SHUTDOWN for query
and for keybases LCB_TIMEOUT
std::string statement = "SELECT * FROM car_profile.mobile_dev.branding;";
lcb_CMDQUERY *cmd= nullptr;
lcb_cmdquery_create(&cmd);
lcb_cmdquery_statement(cmd, statement.c_str(), statement.size());
lcb_cmdquery_callback(cmd, row_callback);
lcb_cmdquery_adhoc(cmd, true);
lcb_query(instance, nullptr, cmd);
qDebug() << "waiting";
lcb_wait(instance, LCB_WAIT_DEFAULT);
qDebug() << "done?";
lcb_cmdquery_destroy(cmd);
UPDATE:
i change my couchbase server from community to enterprise , but now i have an error still related on that query
LCB_ERR_PLANNING_FAILURE
what is that error ?
also , is community version doesn't support libcouchbase connection ?
Metadata
Metadata
Assignees
Labels
No labels