@@ -488,7 +488,7 @@ int lua_wrapper_table::tostring() const
488488 return 1 ;
489489}
490490
491- int lua_wrapper_table::cluster () const
491+ int lua_wrapper_table::cluster () const noexcept
492492{
493493 lua_pushboolean (lua_state (), self ().cluster_by_geom ());
494494 return 1 ;
@@ -503,12 +503,11 @@ int lua_wrapper_table::columns() const
503503 lua_pushinteger (lua_state (), ++n);
504504 lua_newtable (lua_state ());
505505
506- luaX_add_table_str (lua_state (), " name" , column.name ().c_str ());
507- luaX_add_table_str (lua_state (), " type" , column.type_name ().c_str ());
508- luaX_add_table_str (lua_state (), " sql_type" ,
509- column.sql_type_name ().c_str ());
506+ luaX_add_table_str (lua_state (), " name" , column.name ());
507+ luaX_add_table_str (lua_state (), " type" , column.type_name ());
508+ luaX_add_table_str (lua_state (), " sql_type" , column.sql_type_name ());
510509 luaX_add_table_str (lua_state (), " sql_modifiers" ,
511- column.sql_modifiers (). c_str () );
510+ column.sql_modifiers ());
512511 luaX_add_table_bool (lua_state (), " not_null" , column.not_null ());
513512 luaX_add_table_bool (lua_state (), " create_only" , column.create_only ());
514513
@@ -518,13 +517,13 @@ int lua_wrapper_table::columns() const
518517 return 1 ;
519518}
520519
521- int lua_wrapper_table::name () const
520+ int lua_wrapper_table::name () const noexcept
522521{
523522 luaX_pushstring (lua_state (), self ().name ());
524523 return 1 ;
525524}
526525
527- int lua_wrapper_table::schema () const
526+ int lua_wrapper_table::schema () const noexcept
528527{
529528 luaX_pushstring (lua_state (), self ().schema ());
530529 return 1 ;
0 commit comments