Skip to content

Commit

Permalink
[BABEL] Fix warnings in IsTsqlTableVariable & ExecModifyTable (#520)
Browse files Browse the repository at this point in the history
1. Fix warning in IsTsqlTableVariable
2. Supress warning for uninitialized variable `tss`
3. Configure engine without readline in github actions

Signed-off-by: Tanzeel Khan <[email protected]>
(cherry picked from commit 84b4e98)
  • Loading branch information
tanscorpio7 authored and lejaokri committed Jan 31, 2025
1 parent cb16614 commit e39986e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
sudo apt install -y libipc-run-perl
- name: build-postgres
run: |
./configure --with-icu --enable-cassert --enable-tap-tests
./configure --with-icu --enable-cassert --enable-tap-tests --without-readline
make world-bin -j8 COPT='-Werror -Wno-error=maybe-uninitialized'
- name: run-tests
run: |
Expand Down
4 changes: 2 additions & 2 deletions src/backend/executor/nodeModifyTable.c
Original file line number Diff line number Diff line change
Expand Up @@ -3777,8 +3777,8 @@ ExecModifyTable(PlanState *pstate)
ItemPointer tupleid;
/* for INSERT ... EXECUTE */
bool tsql_insert_exec = node->callStmt != NULL;
Tuplestorestate *tss;
TupleDesc tupdesc;
Tuplestorestate *tss = NULL;
TupleDesc tupdesc = NULL;
DestReceiver *dest = NULL;
bool tuplock;

Expand Down

0 comments on commit e39986e

Please sign in to comment.