[CONC-484] cant pass float var in insert statement Created: 2020-07-13 Updated: 2023-12-06 Resolved: 2020-07-13 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | 3.1.9 |
| Fix Version/s: | N/A |
| Type: | New Feature | Priority: | Major |
| Reporter: | Richard Couture | Assignee: | Georg Richter |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
raspianos GNU/Linux 10 on Raspberry pi 4a |
||
| Description |
|
#include <mariadb/mysql.h> The resulting output and error are: I cant seem to get the float vars pHReading and TempReading to dereference in the query before sending them to the DB What am I doing wrong??? Richard |
| Comments |
| Comment by Richard Couture [ 2020-07-13 ] |
|
Just resolved the issue with an sprintf Richard |
| Comment by Georg Richter [ 2020-07-13 ] |
|
closed on user request |