Files
Seth Hillbrand acbcb5e014 Fix issue 15880 by pre-describing ODBC parameters
Rather than modifying nanodbc to silently handle missing
SQLDescribeParam support, describe parameters in the application
before binding them. This approach keeps nanodbc pristine and
moves the workaround logic to KiCad where the issue occurs.

The fix pre-describes parameters as VARCHAR with size 255 in
DatabaseConnection::SelectOne before attempting to bind them.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15880
2026-01-29 16:31:44 -08:00
..
2022-08-26 09:38:11 -04:00
2022-08-26 09:38:11 -04:00

This directory contains the nanodbc project from https://github.com/nanodbc/nanodbc

It is licensed under MIT, with the license text in this directory.


Note: The CMakeLists.txt file has been modified to remove the CXX flags nanodbc is
adding to the build. These flags were interfering with the Clang build, and also
including Werror is a bad idea.

Note: The cpp and header file have been modified to remove the #ifdef _clang_ from the
includes. This was needed when nanodbc changed the standard library, but now with GCC 13,
this is needed when building with the GCC standard library and clang.