Skip to content

Commit

Permalink
fix: fix args parser
Browse files Browse the repository at this point in the history
  • Loading branch information
sundy-li committed May 5, 2024
1 parent cb1d61a commit 1d35e8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cli/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ case $TEST_HANDLER in

echo "create user if not exists databend identified by 'databend'" | bendsql -dsn="databend+http://${DATABEND_USER}:${DATABEND_PASSWORD}@${DATABEND_HOST}:8000/?sslmode=disable&presign=on"
export BENDSQL_NEW="${BENDSQL} --user databend --password databend --host ${DATABEND_HOST} --port 8000"
$BENDSQL_NEW --query="select 1"
$BENDSQL_NEW --query="select 1 from numbers(10) where number > 1000"

export BENDSQL_DSN="databend+http://${DATABEND_USER}:${DATABEND_PASSWORD}@${DATABEND_HOST}:8000/?sslmode=disable&presign=on"
;;
Expand Down
1 change: 1 addition & 0 deletions sql/src/cursor_ext/cursor_read_bytes_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ use std::io::Cursor;
use std::io::ErrorKind;
use std::io::Result;

#[allow(dead_code)]
pub trait ReadBytesExt {
fn peek(&mut self) -> Option<char>;
fn peek_byte(&mut self) -> Option<u8>;
Expand Down

0 comments on commit 1d35e8e

Please sign in to comment.