Skip to content

Errors logging not working properly for the linux version. #2313

@venumz

Description

@venumz

Description

While executing a query, most of the times it does not log errors, especially when the query is complicated.
Just executing multiple times a simple wrongly written query like:

select us_id;

Produces:

16:24:30.635] select us_id;
[16:24:30.635] select us_id;
/* [16:24:30.636] Affected rows: 0  Found rows: 0  Warnings: 0  Duration for 0 of 1 query: 0,000 sec. */
[16:24:31.191] select us_id;
[16:24:31.191] select us_id;
/* [16:24:31.193] Affected rows: 0  Found rows: 0  Warnings: 0  Duration for 0 of 1 query: 0,000 sec. */
[16:24:31.694] select us_id;
[16:24:31.694] select us_id;
/* [16:24:31.695] Affected rows: 0  Found rows: 0  Warnings: 0  Duration for 0 of 1 query: 0,000 sec. */
/* [16:24:32.127] Affected rows: 0  Found rows: 0  Warnings: 0  Duration for 0 of 1 query: 0,000 sec. */
/* [16:24:32.374] Affected rows: 0  Found rows: 0  Warnings: 0  Duration for 0 of 1 query: 0,000 sec. */
[16:24:32.606] select us_id;
/* [16:24:32.606] Affected rows: 0  Found rows: 0  Warnings: 0  Duration for 0 of 1 query: 0,000 sec. */
[16:24:32.811] select us_id;
/* [16:24:32.811] SQL Error (1054): Unknown column 'us_id' in 'SELECT' */
/* [16:24:32.812] Affected rows: 0  Found rows: 0  Warnings: 0  Duration for 0 of 1 query: 0,000 sec. */

As you can see:

  1. the log writes down the query twice sometimes and sometimes it doesn't show up at all
  2. the error is logged sometimes, but not always

HeidiSQL version

12.13.11

Database server version

10.11.13-MariaDB-0ubuntu0.24.04.1

Reproduction recipe

Open the linux version of HeidiSQL 12.13.11, connect to any database and execute a wrong query.

Error/Backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDefective behaviour in HeidiSQLconfirmedIssue verified by project memberlinux-nativeAffects Linux version (not Wine)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions