You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been running into the error mentioned in the title with any query, prepared or not, that uses ? placeholders. I could not find any resources that explain what this error means, and the errno also did not match anything on the MariaDB error page. For sanity reasons I created a table that matches the example here:
CREATE TABLE `test`.`mytable` (
`id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
`someVal` int NULL,
`otherVal` varchar(255) NULL,
PRIMARY KEY (`id`)
);
And even the example results in this error. How can I fix this? It does not happen with the MySQL connectors, or other languages (tested in PHP and C++, worked fine).
The text was updated successfully, but these errors were encountered:
Thanks for the help, this actually helped me track down a bug in my own configuration file parser, which incorrectly set known-but-not-used keys to new Object(null) instead of undefined.
Just as an FYI, the wording on this page isn't clear about the use of named placeholders, as it doesn't say you can't use ? anymore.
I've been running into the error mentioned in the title with any query, prepared or not, that uses
?placeholders. I could not find any resources that explain what this error means, and the errno also did not match anything on the MariaDB error page. For sanity reasons I created a table that matches the example here:And even the example results in this error. How can I fix this? It does not happen with the MySQL connectors, or other languages (tested in PHP and C++, worked fine).
The text was updated successfully, but these errors were encountered: