  | |  | bk commit - MyODBC 3.51 (1.490) | bk commit - MyODBC 3.51 (1.490) 2005-08-11 - By Bogdan Degtyariov
Back Below is the list of changes that have just been commited into a local MyODBC 3.51 repository of 'bdegtyariov'. When 'bdegtyariov' does a push, they will be propogaged to the main repository and within 2 hours after the push into the public repository.
For more information on how to access the public repository see: http://www.mysql.com/products/myodbc/faq_2.html#Development_source
You can also browse the changes from public repository: Complete repository: http://mysql.bkbits.net:8080/myodbc3/ This changeset : http://mysql.bkbits.net:8080/myodbc3/cset@(protected)
ChangeSet 1.490 05/08/11 20:34:47 bdegtyariov@(protected) +1 -0 catalog.c: fixed SQLForeignKeys function which returned bad results with just one quoting symbol `tab or key`
driver/catalog.c 1.48 05/08/11 20:33:52 bdegtyariov@(protected) +4 -1 fixed SQLForeignKeys function which returned bad results with just one quoting symbol `tab or key`
# This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: bdegtyariov # Host: suse3000. # Root: /home/bdegtyariov/myodbc-3.51
--- 1.47/driver/catalog.c 2005-08-10 20:45:46 +03:00 +++ 1.48/driver/catalog.c 2005-08-11 20:33:52 +03:00 @@ -1907,7 +1907,7 @@ if ( (row[1] && strcmp(row[1],"InnoDB")==0) ) { const char *token,*pktoken,*fk_cols_start,*pk_cols_start; - char *comment_token, ref_token[NAME_LEN+1]; + char *comment_token, ref_token[NAME_LEN+1], tmpbuff[NAME _LEN+1]; char *pkcomment,*fkcomment; uint key_seq,pk_length,fk_length; @@ -1932,12 +1932,15 @@ if ( !(token= my_next_token(token+7,&comment_token,ref _token,'/')) ) continue; + strcpy(ref_token, + strcpy(tmpbuff, ref_token+1)); /* Remove first quot character */ data[0]= strdup_root(alloc,ref_token); /* PKTABLE_CAT */ if ( !(token= my_next_token(token,&comment_token,ref_token ,'(')) || myodbc_casecmp(PkTableName,ref_token,strlen (PkTableName)) ) continue; + ref_token[strlen(ref_token)- 1] = 0; /* Remove last quot character */ data[2]= strdup_root(alloc,ref_token); /* PKTABLE_TABLE */ pk_cols_start = token;
-- MySQL ODBC Mailing List For list archives: http://lists.mysql.com/myodbc To unsubscribe: http://lists.mysql.com/myodbc?unsub=mysql@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |