Changeset 1255
- Timestamp:
- 03/15/10 18:59:59 (2 years ago)
- Location:
- trunk/unxsBind
- Files:
-
- 2 modified
-
tresourcefunc.h (modified) (2 diffs)
-
tzonefunc.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/unxsBind/tresourcefunc.h
r1254 r1255 1463 1463 if(mysql_errno(&gMysql)) 1464 1464 htmlPlainTextError(mysql_error(&gMysql)); 1465 1466 1465 sprintf(gcQuery,"INSERT INTO tResourceTest (uResource,cName,uOwner,uCreatedBy,uCreatedDate,uModBy," 1467 1466 "uModDate,uTTL,uRRType,cParam1,cParam2,cParam3,cParam4,cComment,uZone) " … … 1506 1505 if(mysql_errno(&gMysql)) 1507 1506 htmlPlainTextError(mysql_error(&gMysql)); 1508 1507 1509 1508 }//void PrepareTestData(void) 1510 1509 -
trunk/unxsBind/tzonefunc.h
r1251 r1255 3669 3669 "tZone.uMailServers,tZone.cMainAddress,tView.cLabel FROM tZone,tNSSet,tNS,tView" 3670 3670 " WHERE tZone.uNSSet=tNSSet.uNSSet AND tNSSet.uNSSet=tNS.uNSSet AND" 3671 " tZone.uView=tView.uView AND tZone.uZone=%u '",uZone);3671 " tZone.uView=tView.uView AND tZone.uZone=%u",uZone); 3672 3672 3673 3673 mysql_query(&gMysql,gcQuery); … … 3675 3675 htmlPlainTextError(mysql_error(&gMysql)); 3676 3676 res=mysql_store_result(&gMysql); 3677 3678 3677 if((field=mysql_fetch_row(res))) 3679 3678 {
