blob: 3fdcdbbe9d3922b38edd6a7322f656fe6dd3e0e4 (
plain)
1
2
3
4
5
6
|
create function sequence returns integer soname "UDF_EXAMPLE_LIB";
create table t1 (n int key not null auto_increment, msg int as (sequence()) virtual);
select * from t1;
n msg
drop table t1;
drop function sequence;
|