⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pbm00.mal

📁 一个内存数据库的源代码这是服务器端还有客户端
💻 MAL
字号:
# initialize the BAT partition box.# to be used in the other pbm* tests    pbm.open();    b1:= bat.new(:oid,:int);    bat.setPersistent(b1);    pbm.deposit("Sales2005","06",b1);    b2:= bat.new(:oid,:int);    bat.setPersistent(b2);    pbm.deposit("Sales2005","07",b2);    b3:= bat.new(:oid,:int);    bat.setPersistent(b3);    pbm.deposit("Sales2005","08",b3);    c1:= bat.new(:oid,:int);    bat.setPersistent(c1);    pbm.deposit("Invoice2005","06",c1);    c2:= bat.new(:oid,:int);    bat.setPersistent(c2);    pbm.deposit("Invoice2005","07",c2);    c3:= bat.new(:oid,:int);    pbm.deposit("Invoice2005","08",c3);    bat.setPersistent(c3);    n:= pbm.getNames(); # get content of partitition catalogue.    io.print(n);    pbm.dump();barrier (nr,grp,elm):= pbm.newIterator();    io.print(grp,elm);    redo (nr,grp,elm):=pbm.getNextName();exit (nr,grp,elm);    pbm.close();    io.print("done");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -