Code Duplication    Length = 6-6 lines in 2 locations

class/adodb.php 1 location

@@ 481-486 (lines=6) @@
478
                    'b.usertype = 80',
479
					),
480
				));
481
			while (!empty($rs) && !$rs->EOF) {
482
				if ($tbl == $rs->fields['tableName']) {
483
                    return $rs->fields['name'];
484
				}
485
				$rs->MoveNext();
486
			}
487
488
			return '';
489
			//select a.name,a.length,a.usertype,b.name AS type from syscolumns a ,systypes b

src/Fwlib/Bridge/Adodb.php 1 location

@@ 942-947 (lines=6) @@
939
                    ],
940
                ]
941
            );
942
            while (!empty($rs) && !$rs->EOF) {
943
                if ($table == $rs->fields['tableName']) {
944
                    return $rs->fields['name'];
945
                }
946
                $rs->MoveNext();
947
            }
948
949
            return '';
950