blob: 377af563d3eee2580edf851068946269165a5f8a (
plain)
1
2
3
4
5
6
|
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
drop table t1;
drop function udf_sequence;
|