Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
SSQLSv2 design discussion

SSQLSv2 design discussion

2007-08-16       - By Warren Young

 Back
Chris Frey wrote:
>
>>      option use_accessors getX
>
> ...Capitalization of the X could be significant:

That was the idea, yes.

>> The "option" statements let you control naming scheme details.  By
>> default it will output code in a style close to that used within
>> MySQL++; if we have to pick a default, it might as well be that.  But I
>> realize this is not the worldwide standard, so wherever possible it
>> should give you the option to change its output code style.
>
> If I understand what you mean by style, this seems like a lot of work
> for nothing.  Nobody should care what indentation is used in a file
> full of generated code.

It would indeed be foolish to try to try to support options for multiple
whitespace rule sets.  If someone is so anal they need their special
brace and indent style in *generated* code, too, they can postprocess
ssqlsxlat's output with a code reformatting tool.

> What does matter (and perhaps you were thinking of this all along)
> is the interface, and how the programmer calls it.

Yes.

> This brought an interesting idea to mind though: would there be any
> use in putting actual C++ code in the .ssqls file,

Can't say that interests me.  You can add code to a generated SSQLS by
deriving from it.  These should make fine base classes.

> I'm not really here. :-)

Are you ceding nominal control of the packarray project, then?  I mean,
if someone were to just take over and finish it, would you object?

> Where does portable database support stand, btw?

4.0 or later, that's all I can say at this point.  3.0 will be big
enough already.

> Is it any easier to implement now than it was before?

I doubt there's any appreciable difference.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:    http://lists.mysql.com/plusplus?unsub=mysql@(protected)