dlang-tour / core

D Language online tour (https://tour.dlang.org/) and online editor (https://run.dlang.io/)
Boost Software License 1.0
115 stars 48 forks source link

Very much required MySQL support #782

Open alex1543 opened 1 year ago

alex1543 commented 1 year ago

Dear Developers,

The current mysql-d module is not running. The developer is not responding. Perhaps the module needs to be reworked to take into account 32/64 compilation. Error when installing: dub add mysql-d Please help me rewrite the module for 64 bit version.

C:\xampp\htdocs\practD\mdb1>dub
    Starting Performing "debug" build using C:\D\dmd2\windows\bin64\dmd.exe for x86_64.
    Building mysql-d 0.3.3: building configuration [mysql-d]
C:\Users\alex\AppData\Local\dub\packages\mysql-d-0.3.3\mysql-d\source\mysql\database.d(323,5): Deprecation: foreach: loop index implicitly converted from `size_t` to `int`
C:\Users\alex\AppData\Local\dub\packages\mysql-d-0.3.3\mysql-d\source\mysql\database.d(369,9): Deprecation: foreach: loop index implicitly converted from `size_t` to `int`
C:\Users\alex\AppData\Local\dub\packages\mysql-d-0.3.3\mysql-d\source\mysql\mysql.d(44,17): Error: template instance `enforceEx!MysqlDatabaseException` template `enforceEx` is not defined, did you mean enforce(E : Throwable = Exception) if (is(typeof(new E("", string.init, size_t.init)) : Throwable) || is(typeof(new E(string.init, size_t.init)) : Throwable))?
C:\Users\alex\AppData\Local\dub\packages\mysql-d-0.3.3\mysql-d\source\mysql\mysql.d(49,9): Error: template instance `enforceEx!MysqlDatabaseException` template `enforceEx` is not defined, did you mean enforce(E : Throwable = Exception) if (is(typeof(new E("", string.init, size_t.init)) : Throwable) || is(typeof(new E(string.init, size_t.init)) : Throwable))?
C:\Users\alex\AppData\Local\dub\packages\mysql-d-0.3.3\mysql-d\source\mysql\mysql.d(148,9): Error: template instance `enforceEx!MysqlDatabaseException` template `enforceEx` is not defined, did you mean enforce(E : Throwable = Exception) if (is(typeof(new E("", string.init, size_t.init)) : Throwable) || is(typeof(new E(string.init, size_t.init)) : Throwable))?
C:\Users\alex\AppData\Local\dub\packages\mysql-d-0.3.3\mysql-d\source\mysql\query_interface.d(247,9): Deprecation: foreach: loop index implicitly converted from `size_t` to `int`
C:\Users\alex\AppData\Local\dub\packages\mysql-d-0.3.3\mysql-d\source\mysql\query_interface.d(292,13): Deprecation: foreach: loop index implicitly converted from `size_t` to `int`
Error C:\D\dmd2\windows\bin64\dmd.exe failed with exit code 1.

Sincerely, Alexei