Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue where getColumnNames() returned an empty array if SELECT … #412

Merged
merged 3 commits into from Aug 10, 2020

Conversation

@cpainterwakefield
Copy link
Contributor

@cpainterwakefield cpainterwakefield commented Aug 10, 2020

…query returned 0 rows.

…query returned 0 rows.
@lovasoa
Copy link
Member

@lovasoa lovasoa commented Aug 10, 2020

See #388

@cpainterwakefield
Copy link
Contributor Author

@cpainterwakefield cpainterwakefield commented Aug 10, 2020

I did look at #388 - it looked like that one got rejected because it broke tests by changing the way exec() worked in returning result sets. My change only effects the getColumnNames() method of Statement, and all the tests run green.

@lovasoa
Copy link
Member

@lovasoa lovasoa commented Aug 10, 2020

OK, sorry, this patch looks good to me. Thank you !

@lovasoa lovasoa merged commit 20157a1 into sql-js:master Aug 10, 2020
1 check passed
1 check passed
build
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants