Skip to content

setting lc_time_names has no effect (MariaDB) #1335

Description

@aedion-a

Introduction

SET lc_time_names doesn't work in SQLPage but works directly on MariaDB.

To Reproduce

In DB Editor (DBeaver) :

SELECT @@lc_time_names; 
-- en_US
SELECT MONTHNAME(CURRENT_DATE);
-- June

SET lc_time_names = 'fr_FR';
SELECT @@lc_time_names;
-- fr_FR
SELECT MONTHNAME(CURRENT_DATE);
-- Juin

Actual behavior

In SQLPage

SET lc_time_names = 'fr_FR';

set $monthn0  = MONTHNAME(CURRENT_DATE);

select 'text'      as component,
        $monthn0   as contents_md;
-- June

Version information

  • OS: Ubuntu 24.04 LTS
  • mariadb Ver 15.1 Distrib 10.11.14-MariaDB, for debian-linux-gnu (x86_64)
  • SQLPage 0.44

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions