svnno****@sourc*****
svnno****@sourc*****
2008年 6月 25日 (水) 15:30:37 JST
Revision: 157 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=tritonn&view=rev&rev=157 Author: mir Date: 2008-06-25 15:30:37 +0900 (Wed, 25 Jun 2008) Log Message: ----------- removed senna ql for first column because first column is assignded as pkey Modified Paths: -------------- trunk/src/ha_tritonn.cc -------------- next part -------------- Modified: trunk/src/ha_tritonn.cc =================================================================== --- trunk/src/ha_tritonn.cc 2008-06-20 09:08:42 UTC (rev 156) +++ trunk/src/ha_tritonn.cc 2008-06-25 06:30:37 UTC (rev 157) @@ -347,7 +347,8 @@ my_snprintf(buf,1024,"(ptable '<%s>)",table_arg->s->table_name); call_senna_ql(ctx,buf); int i; - for (i=0; i < table_arg->s->fields; i++) { + /* col1 is assigned to pkey so i=1 here */ + for (i=1; i < table_arg->s->fields; i++) { Field *field = table_arg->s->field[i]; my_snprintf(buf,1024,"(<%s> ::def :%s <%s>)", create_info->alias,