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

fix: SELECT now() returns current time. #1509

Merged
merged 1 commit into from
Aug 7, 2023
Merged

Conversation

vrongmeal
Copy link
Contributor

glaredb=> select now();
             now()
-------------------------------
 2023-08-07 20:35:57.042442+00
(1 row)

Fixes #1427

```
glaredb=> select now();
             now()
-------------------------------
 2023-08-07 20:35:57.042442+00
(1 row)
```

Fixes #1427

Signed-off-by: Vaibhav <[email protected]>
@vrongmeal
Copy link
Contributor Author

TBH, not completely happy with this. I want to create another wrapper to handle everything related to the "execution of a query", basically one state for one execution. This works but creates a copy of the state each time. The only thing the copy has different is the query_execution_start_time, which we wanted.

Not closing #1432 to keep track of this.

@vrongmeal vrongmeal merged commit b1d8423 into main Aug 7, 2023
@vrongmeal vrongmeal deleted the vrongmeal/session-context branch August 7, 2023 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Select now() returns wrong time
2 participants