Commit 6777c67a authored by Sergei Golubchik's avatar Sergei Golubchik

support {:L} with a ',' thousand separator

parent 519bb2e4
......@@ -212,7 +212,7 @@ set names latin1;
#
select sformat('Num {:L}', 13800000000);
sformat('Num {:L}', 13800000000)
Num 13800000000
Num 13,800,000,000
select sformat('Num [{:20}]', 42);
sformat('Num [{:20}]', 42)
Num [ 42]
......
......@@ -56,7 +56,9 @@ C_MODE_END
#include "sql_statistics.h"
/* fmtlib include (https://fmt.dev/). */
#include "fmt/format.h"
#define FMT_STATIC_THOUSANDS_SEPARATOR ','
#define FMT_HEADER_ONLY 1
#include "fmt/format-inl.h"
size_t username_char_length= USERNAME_CHAR_LENGTH;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment