Unfortunately, the submitted patch does not work with our current selection of compilers. Here is an example:
/opt/buildbot-slave/mariadb/starfsmenn1/build/storage/innobase/handler/handler0alter.cc: In function 'std::tuple<long unsigned int, long unsigned int, long unsigned int> get_type(const Field&)':
|
/opt/buildbot-slave/mariadb/starfsmenn1/build/storage/innobase/handler/handler0alter.cc:9013:28: error: converting to 'std::tuple<long unsigned int, long unsigned int, long unsigned int>' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {long unsigned int&, long unsigned int&, long unsigned int&}; <template-parameter-2-2> = void; _Elements = {long unsigned int, long unsigned int, long unsigned int}]'
|
return {prtype, mtype, len};
|
Unfortunately, the submitted patch does not work with our current selection of compilers. Here is an example:
/opt/buildbot-slave/mariadb/starfsmenn1/build/storage/innobase/handler/handler0alter.cc: In function 'std::tuple<long unsigned int, long unsigned int, long unsigned int> get_type(const Field&)':
/opt/buildbot-slave/mariadb/starfsmenn1/build/storage/innobase/handler/handler0alter.cc:9013:28: error: converting to 'std::tuple<long unsigned int, long unsigned int, long unsigned int>' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {long unsigned int&, long unsigned int&, long unsigned int&}; <template-parameter-2-2> = void; _Elements = {long unsigned int, long unsigned int, long unsigned int}]'
return {prtype, mtype, len};