| @@ 488-493 (lines=6) @@ | ||
| 485 | //where id = object_id('ztb_yh') and a.type=b.type and a.usertype = b.usertype |
|
| 486 | ||
| 487 | } |
|
| 488 | elseif ($this->IsDbMysql()) { |
|
| 489 | // Check 'type' |
|
| 490 | foreach ($ar_col as $k => $v) |
|
| 491 | if (isset($v->type) && 'timestamp' == $v->type) |
|
| 492 | return $k; |
|
| 493 | } |
|
| 494 | else { |
|
| 495 | die("FindColTs not implemented!\n"); |
|
| 496 | } |
|
| @@ 937-945 (lines=9) @@ | ||
| 934 | return ''; |
|
| 935 | } |
|
| 936 | ||
| 937 | } elseif ($this->isDbMysql()) { |
|
| 938 | // Check 'type' |
|
| 939 | foreach ($arCol as $k => $v) { |
|
| 940 | if (isset($v->type) && 'timestamp' == $v->type) { |
|
| 941 | return $k; |
|
| 942 | } |
|
| 943 | } |
|
| 944 | ||
| 945 | } else { |
|
| 946 | // Do not trigger error, null means no implemented. |
|
| 947 | // Use '||' to fool code inspection. |
|
| 948 | return null || trigger_error( |
|