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