1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Last patch before push into main tree. Updated from code review and final once over.

A couple of small changes to ha_example (mainly comments).
This commit is contained in:
brian@brian-akers-computer.local
2004-06-07 02:06:33 -07:00
parent 34ad857c8d
commit 589480e879
4 changed files with 85 additions and 44 deletions

View File

@@ -21,6 +21,10 @@
that you can implement.
*/
#ifdef __GNUC__
#pragma interface /* gcc class implementation */
#endif
/*
EXAMPLE_SHARE is a structure that will be shared amoung all open handlers
The example implements the minimum of what you will probably need.
@@ -87,7 +91,6 @@ public:
The next method will never be called if you do not implement indexes.
*/
virtual double read_time(ha_rows rows) { return (double) rows / 20.0+1; }
virtual bool fast_key_read() { return 1;}
/*
Everything below are methods that we implment in ha_example.cc.