0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-03-06 18:24:45 +00:00

20 Commits

Author SHA1 Message Date
44d6120a0a Add support for .load command 2023-12-12 15:12:31 +05:30
78db3721c4 fix(release): mark other packages as dist=false 2023-11-17 08:43:09 -06:00
c1a8e1c5dd add shell command .exit 2023-11-15 12:00:55 +08:00
7e9394b654 change the way to check readonly state of databases 2023-11-15 09:50:58 +08:00
eb4d3c0097 remove file scope's allow(dead_code) 2023-11-14 21:54:15 +08:00
4d78b2452c add shell command .dbconfig 2023-11-14 21:52:17 +08:00
e441c4acd4 add shell command .databases 2023-11-14 20:42:51 +08:00
ceea9ef346 add shell command .changes 2023-11-14 18:36:18 +08:00
ee79eeed79 add shell command .bail; fix command .echo 2023-11-14 18:08:27 +08:00
7ed3798a23 use Result over unwrap; use insert and remove over bit
operations
2023-11-14 12:52:23 +08:00
ad0cbb89ec add shell command .open 2023-11-14 12:06:32 +08:00
70b203977f format the output of command .show and .info to be same as sqlite3 2023-11-14 12:05:55 +08:00
9d562f5f88 add command read 2023-11-12 00:33:26 +08:00
a6b7da4de9 libsql-shell: add --nofollow flag 2023-11-05 08:47:50 -05:00
4f617afc53 fix clippy and fmt 2023-10-31 17:40:09 +01:00
bdc9c74ca0 libsql-shell: add --cmd option 2023-10-28 09:53:00 -04:00
ec64b5f21f libsql-shell: fix panic on empty statement
If the given statement is empty like ` ;`, `run_statement` panicks
because in this case rusqlite would return an `Err(SqliteFailure(...))`
but we `unwrap` it.

This commit fixes the panic with the following changes:
- Prevent the iterator of `StrStatements` from returning empty
  statements.
- Skip a row if returned by rusqlite if it's `Err(...)`.
2023-10-23 14:14:33 -04:00
de6a4d8ac4 libsql-shell: add --echo flag 2023-10-22 15:11:15 -04:00
71ca43a7b6 make sqld compile 2023-10-17 17:41:26 +02:00
e7ca93a902 fix ci 2023-10-16 15:25:18 +02:00