由 tglman 编写的 C++ OrientDB 库

标签 c++ c orientdb

通过 tglman 使用 OrientDB 库并尝试运行示例代码@ https://github.com/tglman/orientdb-c/wiki/Start

https://github.com/tglman/orientdb-c

我可以连接到数据库并成功设置和检索 orientDB 中的值 -

但是,当我使用 o_database_document_query 运行查询时,它没有完成执行 - 而是无限期地挂起。

如何解决这个问题?

可能因为它是一个多线程库而发生了一些死锁。

在代码中,它有o_engine_get_factoryo_engine_get_storageo_database_operation_context .....

我不太熟悉这些概念或它们是如何工作的。

任何想法如何进行???

最佳答案

我也调试了,发现了同样的问题...修复并推送到github上了!

关于由 tglman 编写的 C++ OrientDB 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19015570/

相关文章:

docker - 由于 docker 数据,Ubuntu 14.04 卷磁盘已满

java - OrientDB Java jdbc 抛出 MethodNotFound

c++ - 虽然 unique_ptr 保证在移动后存储 nullptr,但它仍然指向对象?

c++ - 奇怪的 C 算术行为

在 C 中的另一个函数调用的函数中使用 malloc 会导致崩溃 [VS2010]

c - 缓冲区溢出: writing 7 in hexadecimal without 'null terminator' (0x00)

Neo4j vs OrientDB 对象映射选项 vs Tinkerpop Frames

c++ - 调用函数时首选错误的参数转换

c++ - 有没有像打印机标记语言这样的东西

c - 如何使用条件变量