Comments (8)
Related to the #14
from userver.
Related to the #14
from userver.
MariaDB does support an async API, and that it does also support bulk transactions in the C connector.
https://kb-mirror.mariadb.com/kb/en/non-blocking-client-library/
from userver.
There is https://github.com/mariadb-corporation/mariadb-connector-c which supports async operation, but it's LGPL licensed, so we can't vendor it, right?
from userver.
... but it's LGPL licensed, so we can't vendor it, right?
Sadly it's LGPL 2.1 licensed, so we can't even link it dynamically. Seems to me that we are out of luck here @apolukhin
from userver.
@itrofimow looks like you wanna implement mysql specific driver. Why did you decide to implement a specific driver instead of the most common odbc driver that can be used across dbms? For example, one odbc driver with small modifications can be used with mysql, oracle, ibm db and mssql.
from userver.
Honestly i just didn't think about ODBC
at all at the time, that's mostly it)
Right now i also see a couple of points against that:
- It gets very complicated and time consuming to test the driver against many database implementations - infrastructure isn't quite there (for example i'll have to sneak some ugly bash into testsuite to support 3 different MySQL and friends installations).
- With MySQL being potentially very popular it makes sense to have an optimized driver for that DB specifically
- Maintaining general purpose
ODBC
implementation might quickly become overwhelming with all the potential issues coming from interaction with different DB backends, for which i likely just won't have enough time/will
from userver.
We just merged MySQL/MariaDB driver
from userver.
Related Issues (20)
- [postgres] make connlimit-mode auto ttl dynamic
- use lld by default if clang is used HOT 1
- remove MONGO_DEADLINE_PROPAGATION_ENABLED_V2
- [json] parse depth limit HOT 2
- Add LRU caches for Multi Index Map
- Usage of CA cert on server side
- macos build error
- Impossible to change binary dir for userver subdirectory HOT 1
- Can't link with develop branch if C++20 enabled HOT 7
- Support request for close from websocket client HOT 1
- libmongoc might use blocking usleep call on worker TaskProcessor HOT 3
- Add support converting from Protobuf message to Domain Entity
- Option to generate proto-files on project rebuild HOT 1
- Mongoc library version mismatch HOT 4
- bug: implicit-const-int-float-conversion
- Unit testing framework: ability to complete pending Sleep() on mocked time advance
- postgres::Row::operator[] HOT 1
- static_assert inside `FastScopeGuard` HOT 2
- support WolfSSL HOT 1
- Problems with venv being created for functional tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from userver.