Gary-Hobson opened a new pull request, #12305:
URL: https://github.com/apache/nuttx/pull/12305
## Summary
Add sqlite based on sim/minibasic configuration
## Impact
Since hostfs does not support FIOC_FILEPATH, it cannot currently be used in
hostfs
## Testing
```
nsh> cd tmp
nsh> ls
/tmp:
nsh> sqlite3 test.db
SQLite version 3.45.1 2024-01-30 16:01:20
Enter ".help" for usage hints.
sqlite>
CREATE TABLE COMPANY(
ID INT PRIMARY KEY sqlite> (x1...> NOT NULL,
NAME TEXT NOT NULL,
AGE (x1...> (x1...> INT NOT NULL,
ADDRESS CHAR(50),
SALARY (x1...> (x1...> REAL
);(x1...>
sqlite> .schema COMPANY
CREATE TABLE COMPANY(
ID INT PRIMARY KEY NOT NULL,
NAME TEXT NOT NULL,
AGE INT NOT NULL,
ADDRESS CHAR(50),
SALARY REAL
);
sqlite> .quit
sqlite>
nsh>
nsh> ls -l
/tmp:
-rwxrwxrwx 12288 test.db
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]