Coder Social home page Coder Social logo

Comments (12)

E1izabeth avatar E1izabeth commented on May 24, 2024

DBeaver provided a new mode of statements execution. You can find it in preferences Editors->SQL Editor->SQL Processing->Blank line is statement delimiter. With this mode DBeaver takes everything between the statement start and the query delimiter or a new statement start. If such behavior doesn't fir your use cases, you can turn it off by switching this setting to Always.

from dbeaver.

c-o-m-m-a-n-d-e-r-d-a-t-a avatar c-o-m-m-a-n-d-e-r-d-a-t-a commented on May 24, 2024

Only chipping in as this was the latest issue on Git, and I saw it as well, but for me it was that this setting was set to 'smart' (by default?), and this rarely seemed to detect blank lines correctly. Setting to 'Always' fixed it, as per E1izabeth's note above.

from dbeaver.

E1izabeth avatar E1izabeth commented on May 24, 2024

@c-o-m-m-a-n-d-e-r-d-a-t-a we had a bug in 24.0.3 version. It's fixed now.

from dbeaver.

c-o-m-m-a-n-d-e-r-d-a-t-a avatar c-o-m-m-a-n-d-e-r-d-a-t-a commented on May 24, 2024

Ok :) Although I will say that leaving the setting on 'Smart', which I don't remember doing manually, causes the blocks not to execute individually most times. Just saying :) PS this is on v 24.0.4

from dbeaver.

E1izabeth avatar E1izabeth commented on May 24, 2024

We can't reproduce it. Please provide a footage of the issue.

from dbeaver.

c-o-m-m-a-n-d-e-r-d-a-t-a avatar c-o-m-m-a-n-d-e-r-d-a-t-a commented on May 24, 2024

output

from dbeaver.

E1izabeth avatar E1izabeth commented on May 24, 2024

Thank you for providing an example. I still can't reproduce it, but hope we will figure out, what';s wrong eventually.

java_eTlP1Rz2wP.mp4

image

from dbeaver.

E1izabeth avatar E1izabeth commented on May 24, 2024

@c-o-m-m-a-n-d-e-r-d-a-t-a I suppose your case is more about this issue #29942

from dbeaver.

c-o-m-m-a-n-d-e-r-d-a-t-a avatar c-o-m-m-a-n-d-e-r-d-a-t-a commented on May 24, 2024

I don't think so - they had set the dropdown to 'never' hadn't they? I think my issue is that 'smart' is the default (or became it silently?) and that it doesn't always work (for me, at any rate). Sometimes it does, sometimes it doesn't. Basically a more complex query will cause 'smart' to fail.

from dbeaver.

E1izabeth avatar E1izabeth commented on May 24, 2024

We're going to set it back to Always by default in the next version.

from dbeaver.

c-o-m-m-a-n-d-e-r-d-a-t-a avatar c-o-m-m-a-n-d-e-r-d-a-t-a commented on May 24, 2024

Probably safest, thanks. I suppose we users don't know the exact logic of 'smart' so it doesn't always do what we expect.

Thanks again :)

from dbeaver.

clemlaugit avatar clemlaugit commented on May 24, 2024

from dbeaver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.