1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-28 17:36:30 +03:00
Files
mariadb/storage/tokudb/PerconaFT/portability
Sergei Golubchik 0a6343909f ensure that STRING_WITH_LEN is only used with string literals
This is allowed:

  STRING_WITH_LEN("string literal")

This is not:

  char *str = "pointer to string";
  ... STRING_WITH_LEN(str) ..

In C++ this is also allowed:

  const char str[] = "string literal";
  ... STRING_WITH_LEN(str) ...
2023-04-01 22:31:30 +02:00
..
2019-10-30 11:15:05 +01:00
2018-01-23 19:20:10 +02:00
2019-07-26 08:48:46 +02:00
2019-07-26 08:48:46 +02:00
2018-09-03 16:29:29 +02:00
2019-07-26 08:48:46 +02:00
2018-09-09 10:05:56 +04:00
2019-04-26 17:02:15 +02:00
2019-07-26 08:48:46 +02:00
2018-01-23 19:20:10 +02:00
2019-07-26 08:48:46 +02:00
2019-07-26 08:48:46 +02:00