gnormal / gnorm

A database-first code generator for any language
https://gnorm.org
Other
484 stars 39 forks source link

MariaDB, Error: name "GENERATION_EXPRESSION": unsupported Scan #114

Closed rwese closed 5 years ago

rwese commented 5 years ago

Hi, I am trying to use gnorm on a mariadb and receive the following error when it examins the schema.

Versions MariaDB: 10.3.8 Gnorm: 32b8fe6 (checkout 29.01.2019)

Error: sql: Scan error on column index 20, name "GENERATION_EXPRESSION": unsupported Scan, storing driver.Value type <nil> into type *string

Since I assume this happens during the scan of the INFORMATION_SCHEMA, I am unsure if this is a Gnorm or MySQL DB Driver issue.

Please feel free to point me in the right direction.

rwese commented 5 years ago

Sorry, I figured mariadb and mysql are too different. I switched the db to mysql for my application and now can use gnorm.