sqlitecloud-js icon indicating copy to clipboard operation
sqlitecloud-js copied to clipboard

configuration parameters gets ignored if connecting with websockets

Open Gioee opened this issue 1 year ago • 6 comments

Current Behavior

configuration parameters gets ignored if connecting with websockets

Expected Behavior

configuration parameters like maxdata, maxrows, maxrowset, etc. should work

Steps to Reproduce the Problem

  1. Initialize a connection with websockets with optional parameters

Environment

  • Version: 1.308
  • Platform: Mac
  • Node.js Version: v20.12.2

Gioee avatar Nov 05 '24 17:11 Gioee

This is the method that gets used with tls in the driver getInitializationCommands we should update the driver and the gateway

Gioee avatar Nov 05 '24 17:11 Gioee

What's the status on this?

jacobprall avatar Nov 12 '24 20:11 jacobprall

they have the workaround, this bug solves the incoherent behavior of the way to customize the connection parameters

danielebriggi avatar Nov 12 '24 21:11 danielebriggi

“Incoherent” is there a fix needed on our side?

jacobprall avatar Nov 13 '24 04:11 jacobprall

yes, connection should be configurable even when is established via websocket

danielebriggi avatar Nov 13 '24 08:11 danielebriggi

@jacobprall I haven't prioritised it as high because it's not a breaking bug. The user can still set these parameters from the connection string or directly in a query. It's certainly something we have to work on because right now it's not that intuitive.

Gioee avatar Nov 13 '24 09:11 Gioee